-----------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Imputations\Selection\forRESTAT\restatmarch.log
  log type:  text
 opened on:  19 Oct 2011, 08:37:29

. 
. /* we extracted data using CPS utilities.  
> details on these extractins can be obtained from author Bollinger
> details linking variable names between CPS utilities and BLS public use files can also be obtained indivi
> duals using the data provided in the REstat archive should comment out the next section and include the f
> ollowing (appropriately modified for directory) use statement
> 
> /* use C:\imputations\selection\forREstat\BHrestatmarch.dta */
> 
> ***********************************
> comment out below if using provided data
> CONSTRUCTING DATA FROM RAW DATA FILES PRODUCED BY CPS UTILITIES  */
. 
. use C:\Datasets\CPSutilitieswork\finalnonresponse\mar08,clear

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar07
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar06
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar05
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar04
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label fvet already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar03
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label fvet already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar02
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label fvet already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar01
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label fvet already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar00
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label fvet already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. append using C:\Datasets\CPSutilitieswork\finalnonresponse\mar99
(label ftelint already defined)
(label fage already defined)
(label f_female already defined)
(label f_divsn already defined)
(label f_region already defined)
(label f_state already defined)
(label ftelavl already defined)
(label ftelhhd already defined)
(label funcov already defined)
(label funmem already defined)
(label fgrdatn already defined)
(label fctystat already defined)
(label fmetstat already defined)
(label faincer1 already defined)
(label fftpt already defined)
(label ftpcder1 already defined)
(label fstate already defined)
(label fvet already defined)
(label frelhd already defined)
(label fmarstat already defined)
(label frace already defined)
(label fmigmtr1 already defined)
(label fhrslyr already defined)
(label fahrslyr already defined)
(label fptweeks already defined)
(label faptwks already defined)
(label fawkslyr already defined)
(label fclslyr already defined)
(label faomcwg1 already defined)
(label fnuempl already defined)
(label fanuempl already defined)
(label finusyr already defined)
(label fauncov already defined)
(label faunmem already defined)
(label faindlyr already defined)
(label faocclyr already defined)
(label fschft already defined)

. 
. keep if clslyr > 0
(897653 observations deleted)

. keep if clslyr < 5 /*  dropping non paid workers and self employed */
(98925 observations deleted)

. drop if (indmly == 14)*(real(_year) > 2002)
(3657 observations deleted)

. 
. keep hrespd lineno spouse aincer aincwg1 mis grdatn _race _female _spneth clslyr _marstat age citstat ind
> mly occmly _divisn metsize ftpt incwag _year wkslyr hrslyr race wgt schft aindlyr aocclyr relhd

. 
. gen proxy = 1 - (hrespd == lineno)

. gen spouseproxy = proxy*(hrespd == spouse)

. gen nonspouseproxy = proxy - spouseproxy

. 
. gen wsimpute = aincer|aincwg1  /* earnings imputations*/

. 
. 
. gen mis1or5 = (mis== 1)|(mis == 5)

. 
. gen elem = (grdatn < 35)

. gen ed9th = (grdatn == 35)

. gen ed10th = (grdatn == 36)

. gen ed11th = (grdatn == 37)

. gen ed12nodip = (grdatn == 38)

. gen edHSgrad = (grdatn == 39)

. gen edsomecoll = (grdatn == 40)

. gen edvocassoc = (grdatn == 41)

. gen edaccassoc = (grdatn == 42)

. gen edassoc = edvocassoc + edaccassoc

. gen edBA = (grdatn == 43)

. gen edMA = (grdatn == 44)

. gen edPro = (grdatn == 45)

. gen edPhd = (grdatn == 46)

. gen dropout = ed9th|ed10th|ed11th|ed12nodip

. 
. gen black = _race == 2

. gen other = _race == 3

. 
. gen hispanic = (_spneth != 8)

. 
. 
. gen federal = (clslyr == 2)

. gen statew = (clslyr == 3)

. gen local = (clslyr == 4)

. 
. 
. 
. gen marriedsp = (_marstat == 1)

. gen marriedsa = (_marstat == 2)|(_marstat == 3)|(_marstat == 4)|(_marstat == 5)

. gen nevermarr = (_marstat == 6)

. 
. gen marriedmale = (1 - _female)*marriedsp

. gen marriedfem = _female*marriedsp

. gen prevmarrmale = (1-_female)*marriedsa

. gen prevmarrfem = _female*marriedsa

. gen singlefem = _female*nevermarr

. gen singlemale = 1- marriedmale - marriedfem - prevmarrmale - prevmarrfem - singlefem

. 
. 
. gen yrsed = 4 

. replace yrsed = 6 if (grdatn == 33)
(12954 real changes made)

. replace yrsed = 8 if (grdatn == 34)
(13886 real changes made)

. replace yrsed = 9 if (grdatn == 35)
(19223 real changes made)

. replace yrsed = 10 if (grdatn == 36)
(27219 real changes made)

. replace yrsed = 11 if (grdatn == 37)
(34304 real changes made)

. replace yrsed = 11 if (grdatn == 38)
(12010 real changes made)

. replace yrsed = 12 if (grdatn == 39)
(261247 real changes made)

. replace yrsed = 13 if (grdatn == 40)
(173441 real changes made)

. replace yrsed = 14 if (grdatn == 41)|(grdatn == 42)
(78659 real changes made)

. replace yrsed = 16 if (grdatn == 43)
(156623 real changes made)

. replace yrsed = 18 if (grdatn == 44)
(56371 real changes made)

. replace yrsed = 20 if (grdatn == 45)|(grdatn == 46)
(20561 real changes made)

. 
. gen exp = age - yrsed - 6

. replace exp = age - 16 if (age - 16) < exp
(53322 real changes made)

. replace exp = 0 if exp < 0
(9304 real changes made)

. gen exp2 = exp^2

. gen exp3 = exp^3

. gen exp4 = exp^4

. 
. 
. gen foreign4 = (citstat == 4)

. gen foreign5 = (citstat == 5)

. gen foreign = foreign4 + foreign5

. gen asian = (race == 4)

. replace other = other - asian
(37064 real changes made)

. replace other = 0 if hispanic
(4226 real changes made)

. replace black = 0 if hispanic
(3746 real changes made)

. replace asian = 0 if hispanic
(895 real changes made)

. gen white = 1 - black - asian - other - hispanic

. 
. 
. 
. gen indmlynew = indmly

. 
. replace indmly = 4 if (real(_year) > 2002)  
(511667 real changes made)

. replace indmlynew = 4 if (real(_year) < 2003) /* will be base */
(267785 real changes made)

. 
. replace indmly = 4 if (indmly == 5) /* combining manuf prior to 2003 */
(17603 real changes made)

. replace indmly = 4 if indmly == 14 /* pulling public out */
(16298 real changes made)

. 
. replace indmlynew = 4 if indmlynew == 13 /* pulling public out */
(29947 real changes made)

. 
. char indmly[omit] 4

. char indmlynew[omit] 4

. 
. xi i.indmly, prefix(i) 
i.indmly          iindmly_1-13        (naturally coded; iindmly_4 omitted)

. xi i.indmlynew, prefix(n)
i.indmlynew       nindmlynew_1-12     (naturally coded; nindmlynew_4 omitted)

. 
. 
. gen occmlynew = 1 

. replace occmlynew = 2 if (occmly > 2)*(occmly < 12)
(314884 real changes made)

. replace occmlynew = 3 if (occmly >11)*(occmly < 16)
(119408 real changes made)

. replace occmlynew = 4 if occmly == 16
(63485 real changes made)

. replace occmlynew = 5 if occmly == 17
(85888 real changes made)

. replace occmlynew = 6 if occmly == 18
(5849 real changes made)

. replace occmlynew = 7 if occmly == 19
(33847 real changes made)

. replace occmlynew = 8 if occmly == 20
(20368 real changes made)

. replace occmlynew = 9 if occmly == 21
(41775 real changes made)

. replace occmlynew = 10 if occmly == 22
(36833 real changes made)

. replace occmlynew = 1 if (real(_year) < 2003)
(212562 real changes made)

. 
. replace occmly = 1 if real(_year) > 2002
(531841 real changes made)

. 
. xi i.occmly, prefix(o)
i.occmly          ooccmly_1-14        (naturally coded; ooccmly_1 omitted)

. xi i.occmlynew, prefix(p)
i.occmlynew       poccmlynew_1-10     (naturally coded; poccmlynew_1 omitted)

. 
. xi i._divisn, prefix(d) noomit

. xi i.metsize, prefix(m) noomit

. xi i.ftpt, prefix(w) noomit

. 
. 
. 
. gen rincwag = incwag/1.889 

. replace rincwag = incwag/1.840 if _year == "2004"
(97882 real changes made)

. replace rincwag = incwag/1.799 if _year == "2003"
(100044 real changes made)

. replace rincwag = incwag/1.771 if _year == "2002"
(102896 real changes made)

. replace rincwag = incwag/1.722 if _year == "2001"
(62534 real changes made)

. replace rincwag = incwag/1.666 if _year == "2000"
(64763 real changes made)

. replace rincwag = incwag/1.630 if _year == "1999"
(63119 real changes made)

. replace rincwag = incwag/1.953 if _year == "2006"
(95734 real changes made)

. replace rincwag = incwag/2.016 if _year == "2007"
(95106 real changes made)

. replace rincwag = incwag/2.073 if _year == "2008"
(95433 real changes made)

. 
. /* this does not adjust to 2008 dollars, but to the base year, need to adjust for means */
. 
. label var rincwag "real W&S earnings"

. 
. gen rwage = rincwag/(wkslyr*hrslyr)

. 
. label var rwage "constructed real hourly wage"

. 
. gen lnwage = log(rwage)

. label var lnwage "log of constructed real hourly wage"

. gen lnwage2 = lnwage

. replace lnwage2 = . if wsimpute
(159742 real changes made, 159742 to missing)

. label var lnwage2 "log hourly wage - no imputations"

. 
. gen primarysample = (schft !=1)&(age >= 18)&(age <= 65)&(ftpt == 1)

. 
. keep wsimpute lnwage lnwage2 wgt schft age ftpt _year proxy spouseproxy nonspouseproxy mis1or5 _female rw
> age elem ed9th ed10th ed11th ed12nodip dropout edHSgrad edsomecoll edassoc edBA edMA edPro edPhd age fore
> ign hispanic white black asian other mmetsize_0-mmetsize_7 d_divisn_1-d_divisn_9 aindlyr aocclyr exp exp2
>  exp3 exp4 marriedmale prevmarrmale marriedfem prevmarrfem singlefem foreign4 foreign5 iindmly_1-iindmly_
> 13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local poccmlynew_2-poccmlynew_10 relhd 
> primarysample

. 
. 
. save C:\imputations\selection\forREstat\BHrestatmarch.dta, replace
file C:\imputations\selection\forREstat\BHrestatmarch.dta saved

. 
. /*********************************************** END DATA CONSTRUCTION *********************************
> If only analyzing provided data, comment out above and begin here after opening data set */
. 
. 
. 
. 
. 
. /* table 1, full sample imputation/missing rates */
. 
. 
. tab wsimpute

   wsimpute |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |    714,015       81.72       81.72
          1 |    159,742       18.28      100.00
------------+-----------------------------------
      Total |    873,757      100.00

. tab wsimpute  [fweight = wgt]

   wsimpute |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 | 1.1093e+11       80.86       80.86
          1 |26261717030       19.14      100.00
------------+-----------------------------------
      Total | 1.3719e+11      100.00

. 
. /* primary analysis sample */
. 
. drop if schft == 1
(62915 observations deleted)

. keep if (age >= 18)&(age <= 65)
(28747 observations deleted)

. keep if ftpt == 1
(217373 observations deleted)

. 
. sum primarysample

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
primarysam~e |    564722           1           0          1          1

. 
. /* table 1, primary sample imputation/missing rates */
. 
. tab wsimpute

   wsimpute |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |    459,378       81.35       81.35
          1 |    105,344       18.65      100.00
------------+-----------------------------------
      Total |    564,722      100.00

. tab wsimpute  [fweight = wgt]

   wsimpute |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |71820330790       80.41       80.41
          1 |17499158711       19.59      100.00
------------+-----------------------------------
      Total |89319489501      100.00

. 
. table _year [fweight = wgt],  contents(mean wsimpute)

--------------------------
Survey    |
year,     |
Unicon    |
created   | mean(wsimpute)
----------+---------------
     1999 |       .1715502
     2000 |       .1660428
     2001 |        .196441
     2002 |       .2017614
     2003 |       .2142975
     2004 |       .2072093
     2005 |       .2076492
     2006 |       .1909739
     2007 |       .2001837
     2008 |       .2010182
--------------------------

. 
. tab proxy wsimpute [aweight = wgt], row col cell

+-------------------+
| Key               |
|-------------------|
|     frequency     |
|  row percentage   |
| column percentage |
|  cell percentage  |
+-------------------+

           |       wsimpute
     proxy |         0          1 |     Total
-----------+----------------------+----------
         0 | 240,118.8  43,118.88 |283,237.69 
           |     84.78      15.22 |    100.00 
           |     52.88      38.97 |     50.16 
           |     42.52       7.64 |     50.16 
-----------+----------------------+----------
         1 | 213,961.6  67,518.67 |281,480.31 
           |     76.01      23.99 |    100.00 
           |     47.12      61.03 |     49.84 
           |     37.89      11.96 |     49.84 
-----------+----------------------+----------
     Total | 454,080.4  110,637.6 |   564,718 
           |     80.41      19.59 |    100.00 
           |    100.00     100.00 |    100.00 
           |     80.41      19.59 |    100.00 


. 
. gen bigprox = "self"

. replace bigprox = "spouse" if spouseproxy
bigprox was str4 now str6
(185813 real changes made)

. replace bigprox = "nonspous" if nonspouseproxy
bigprox was str6 now str8
(97022 real changes made)

. 
. table bigprox [aweight = wgt],  contents(mean wsimpute)

--------------------------
  bigprox | mean(wsimpute)
----------+---------------
 nonspous |       .3293321
     self |       .1522357
   spouse |       .1857186
--------------------------

. 
. drop bigprox

. 
. table mis1or5 [aweight = wgt], contents(mean wsimpute)

--------------------------
  mis1or5 | mean(wsimpute)
----------+---------------
        0 |       .2020876
        1 |       .1776434
--------------------------

. 
. /* table 2, primary sample */
. 
. tab proxy spouseprox, row col cell

+-------------------+
| Key               |
|-------------------|
|     frequency     |
|  row percentage   |
| column percentage |
|  cell percentage  |
+-------------------+

           |      spouseproxy
     proxy |         0          1 |     Total
-----------+----------------------+----------
         0 |   281,887          0 |   281,887 
           |    100.00       0.00 |    100.00 
           |     74.39       0.00 |     49.92 
           |     49.92       0.00 |     49.92 
-----------+----------------------+----------
         1 |    97,022    185,813 |   282,835 
           |     34.30      65.70 |    100.00 
           |     25.61     100.00 |     50.08 
           |     17.18      32.90 |     50.08 
-----------+----------------------+----------
     Total |   378,909    185,813 |   564,722 
           |     67.10      32.90 |    100.00 
           |    100.00     100.00 |    100.00 
           |     67.10      32.90 |    100.00 


. 
. tab proxy spouseprox if !_female, row col cell

+-------------------+
| Key               |
|-------------------|
|     frequency     |
|  row percentage   |
| column percentage |
|  cell percentage  |
+-------------------+

           |      spouseproxy
     proxy |         0          1 |     Total
-----------+----------------------+----------
         0 |   136,053          0 |   136,053 
           |    100.00       0.00 |    100.00 
           |     70.64       0.00 |     42.77 
           |     42.77       0.00 |     42.77 
-----------+----------------------+----------
         1 |    56,559    125,507 |   182,066 
           |     31.07      68.93 |    100.00 
           |     29.36     100.00 |     57.23 
           |     17.78      39.45 |     57.23 
-----------+----------------------+----------
     Total |   192,612    125,507 |   318,119 
           |     60.55      39.45 |    100.00 
           |    100.00     100.00 |    100.00 
           |     60.55      39.45 |    100.00 


. tab proxy spouseprox if _female, row col cell

+-------------------+
| Key               |
|-------------------|
|     frequency     |
|  row percentage   |
| column percentage |
|  cell percentage  |
+-------------------+

           |      spouseproxy
     proxy |         0          1 |     Total
-----------+----------------------+----------
         0 |   145,834          0 |   145,834 
           |    100.00       0.00 |    100.00 
           |     78.28       0.00 |     59.14 
           |     59.14       0.00 |     59.14 
-----------+----------------------+----------
         1 |    40,463     60,306 |   100,769 
           |     40.15      59.85 |    100.00 
           |     21.72     100.00 |     40.86 
           |     16.41      24.45 |     40.86 
-----------+----------------------+----------
     Total |   186,297     60,306 |   246,603 
           |     75.55      24.45 |    100.00 
           |    100.00     100.00 |    100.00 
           |     75.55      24.45 |    100.00 


. 
. 
. /* appendix table A1: weighted means by response status */
. 
. sort wsimpute

. 
. by wsimpute: sum proxy mis1or5 rwage _female elem dropout edHSgrad edsomecoll edassoc edBA edMA edPro edP
> hd age _female foreign hispanic white black asian hispanic mmetsize_0-mmetsize_7 d_divisn_1-d_divisn_9 ai
> ndlyr aocclyr rwage [fweight = wgt]

-----------------------------------------------------------------------------------------------------------
-> wsimpute = 0

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
       proxy | 7.182e+10    .4711976    .4991697          0          1
     mis1or5 | 7.182e+10    .2581937    .4376411          0          1
       rwage | 7.182e+10    10.65598    9.178192   .0001894   190.4404
     _female | 7.182e+10    .4341279    .4956419          0          1
        elem | 7.182e+10    .0322738    .1767262          0          1
-------------+--------------------------------------------------------
     dropout | 7.182e+10    .0603497    .2381336          0          1
    edHSgrad | 7.182e+10    .3055505    .4606402          0          1
  edsomecoll | 7.182e+10    .1860969    .3891849          0          1
     edassoc | 7.182e+10     .098556     .298065          0          1
        edBA | 7.182e+10    .2122053    .4088694          0          1
-------------+--------------------------------------------------------
        edMA | 7.182e+10    .0767876    .2662542          0          1
       edPro | 7.182e+10    .0146594    .1201851          0          1
       edPhd | 7.182e+10    .0135209    .1154905          0          1
         age | 7.182e+10    40.56949    11.13735         18         65
     _female | 7.182e+10    .4341279    .4956419          0          1
-------------+--------------------------------------------------------
     foreign | 7.182e+10    .1453113    .3524144          0          1
    hispanic | 7.182e+10    .1361254    .3429217          0          1
       white | 7.182e+10    .6985157    .4589025          0          1
       black | 7.182e+10    .1099958    .3128845          0          1
       asian | 7.182e+10    .0420284     .200654          0          1
-------------+--------------------------------------------------------
    hispanic | 7.182e+10    .1361254    .3429217          0          1
  mmetsize_0 | 7.182e+10    .1934846    .3950295          0          1
  mmetsize_2 | 7.182e+10     .059362     .236301          0          1
  mmetsize_3 | 7.182e+10    .0896262    .2856454          0          1
  mmetsize_4 | 7.182e+10    .1029417    .3038827          0          1
-------------+--------------------------------------------------------
  mmetsize_5 | 7.182e+10    .1865613    .3895589          0          1
  mmetsize_6 | 7.182e+10    .1327017    .3392521          0          1
  mmetsize_7 | 7.182e+10    .2353226    .4242003          0          1
  d_divisn_1 | 7.182e+10     .046036    .2095631          0          1
  d_divisn_2 | 7.182e+10    .1307937    .3371746          0          1
-------------+--------------------------------------------------------
  d_divisn_3 | 7.182e+10    .1569562    .3637595          0          1
  d_divisn_4 | 7.182e+10     .074489    .2625649          0          1
  d_divisn_5 | 7.182e+10    .1915625    .3935306          0          1
  d_divisn_6 | 7.182e+10    .0587317    .2351218          0          1
  d_divisn_7 | 7.182e+10    .1158891    .3200919          0          1
-------------+--------------------------------------------------------
  d_divisn_8 | 7.182e+10    .0698303    .2548608          0          1
  d_divisn_9 | 7.182e+10    .1557115    .3625816          0          1
     aindlyr | 7.182e+10    .0021355    .0461617          0          1
     aocclyr | 7.182e+10    .0021295    .0460971          0          1
       rwage | 7.182e+10    10.65598    9.178192   .0001894   190.4404

-----------------------------------------------------------------------------------------------------------
-> wsimpute = 1

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
       proxy | 1.750e+10     .610269    .4876892          0          1
     mis1or5 | 1.750e+10      .22891    .4201312          0          1
       rwage | 1.750e+10    10.54782    10.39808   .0007154   159.5878
     _female | 1.750e+10    .4230599    .4940448          0          1
        elem | 1.750e+10    .0352244    .1843464          0          1
-------------+--------------------------------------------------------
     dropout | 1.750e+10    .0669571    .2499477          0          1
    edHSgrad | 1.750e+10    .3399736    .4736998          0          1
  edsomecoll | 1.750e+10    .1759045    .3807389          0          1
     edassoc | 1.750e+10    .0884833    .2839966          0          1
        edBA | 1.750e+10    .1971088    .3978152          0          1
-------------+--------------------------------------------------------
        edMA | 1.750e+10    .0686139    .2527965          0          1
       edPro | 1.750e+10    .0158077    .1247311          0          1
       edPhd | 1.750e+10    .0119266    .1085559          0          1
         age | 1.750e+10    41.03032    11.56621         18         65
     foreign | 1.750e+10    .1574692    .3642425          0          1
-------------+--------------------------------------------------------
    hispanic | 1.750e+10    .1344657     .341152          0          1
       white | 1.750e+10    .6589854    .4740502          0          1
       black | 1.750e+10     .147609    .3547119          0          1
       asian | 1.750e+10    .0474096    .2125133          0          1
  mmetsize_0 | 1.750e+10    .1726874    .3779768          0          1
-------------+--------------------------------------------------------
  mmetsize_2 | 1.750e+10    .0500217    .2179897          0          1
  mmetsize_3 | 1.750e+10    .0817488    .2739817          0          1
  mmetsize_4 | 1.750e+10    .0995446    .2993919          0          1
  mmetsize_5 | 1.750e+10    .1729749    .3782256          0          1
  mmetsize_6 | 1.750e+10    .1302125    .3365371          0          1
-------------+--------------------------------------------------------
  mmetsize_7 | 1.750e+10      .29281     .455052          0          1
  d_divisn_1 | 1.750e+10    .0624662    .2420004          0          1
  d_divisn_2 | 1.750e+10    .1650008    .3711812          0          1
  d_divisn_3 | 1.750e+10    .1694827    .3751777          0          1
  d_divisn_4 | 1.750e+10     .053901    .2258223          0          1
-------------+--------------------------------------------------------
  d_divisn_5 | 1.750e+10    .2074866     .405507          0          1
  d_divisn_6 | 1.750e+10    .0572633    .2323451          0          1
  d_divisn_7 | 1.750e+10    .0920239    .2890597          0          1
  d_divisn_8 | 1.750e+10    .0483739    .2145551          0          1
  d_divisn_9 | 1.750e+10    .1440015    .3510913          0          1
-------------+--------------------------------------------------------
     aindlyr | 1.750e+10    .0113518    .1059384          0          1
     aocclyr | 1.750e+10    .0113192    .1057878          0          1


. 
. 
. /* table 3 and Appendix table 2 primary sample */
. 
. xi i._year, noomit prefix(y)

. 
. gen responder = 1 - wsimpute

. 
. dprobit responder mis1or5 nonspouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edasso
> c edBA edMA edPro edPhd exp exp2 exp3 exp4 marriedmale prevmarrmale marriedfem prevmarrfem singlefem blac
> k asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-d_divisn_9 iindmly_1-iindmly_13
>  ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local poccmlynew_2-poccmlynew_10 y_year_1
> -y_year_4 y_year_6-y_year_10 if !_female

note: marriedfem dropped because of collinearity
note: prevmarrfem dropped because of collinearity
note: singlefem dropped because of collinearity
Iteration 0:   log likelihood = -153399.26
Iteration 1:   log likelihood = -146897.65
Iteration 2:   log likelihood = -146864.11
Iteration 3:   log likelihood =  -146864.1

Probit regression, reporting marginal effects           Number of obs = 318119
                                                        LR chi2(96)   =13070.31
                                                        Prob > chi2   = 0.0000
Log likelihood =  -146864.1                             Pseudo R2     = 0.0426

------------------------------------------------------------------------------
respon~r |      dF/dx   Std. Err.      z    P>|z|     x-bar  [    95% C.I.   ]
---------+--------------------------------------------------------------------
 mis1or5*|     .02286   .0015326    14.60   0.000    .25344   .019856  .025864
nonspo~y*|  -.2008666   .0027346   -82.24   0.000   .177792  -.206226 -.195507
spouse~y*|  -.0384705   .0017945   -21.71   0.000   .394528  -.041988 -.034953
    elem*|    .013979   .0036742     3.71   0.000   .044037   .006778   .02118
   ed9th*|    .017951   .0052145     3.33   0.001   .016695   .007731  .028171
  ed10th*|   .0066762   .0050292     1.31   0.190   .018078  -.003181  .016533
  ed11th*|   .0022144   .0045692     0.48   0.629   .022973  -.006741   .01117
ed12no~p*|  -.0079186   .0060069    -1.34   0.182   .013442  -.019692  .003855
edsome~l*|   .0070896   .0020594     3.41   0.001   .173787   .003053  .011126
 edassoc*|   .0052184    .002647     1.96   0.050   .089511    .00003  .010406
    edBA*|  -.0052702   .0023097    -2.29   0.022   .199953  -.009797 -.000743
    edMA*|   -.009713   .0033895    -2.91   0.004   .070536  -.016356  -.00307
   edPro*|   -.053921   .0065076    -8.91   0.000   .017129  -.066676 -.041166
   edPhd*|  -.0212685   .0063269    -3.47   0.001   .016648  -.033669 -.008868
     exp |   .0057066   .0012296     4.64   0.000   20.9383   .003297  .008117
    exp2 |  -.0005446    .000102    -5.34   0.000   555.269  -.000745 -.000345
    exp3 |   .0000143   3.27e-06     4.39   0.000   16712.4   7.9e-06  .000021
    exp4 |  -1.28e-07   3.51e-08    -3.64   0.000    545963  -2.0e-07 -5.9e-08
marrie~e*|   -.000565   .0023805    -0.24   0.812   .679004  -.005231  .004101
prevma~e*|   .0148558   .0025865     5.62   0.000   .118478   .009786  .019925
   black*|  -.0403494   .0027915   -15.21   0.000   .084214  -.045821 -.034878
   asian*|  -.0364357   .0041835    -9.16   0.000   .042968  -.044635 -.028236
   other*|  -.0065608   .0050935    -1.30   0.193   .020316  -.016544  .003422
hispanic*|   .0040627   .0024404     1.66   0.098   .171131   -.00072  .008846
foreign4*|   .0077418   .0031674     2.41   0.016   .059145   .001534   .01395
foreign5*|   .0096088   .0027799     3.41   0.001   .110283    .00416  .015057
mmetsi~2*|   .0144275   .0029706     4.74   0.000   .068066   .008605   .02025
mmetsi~3*|   -.001037    .002837    -0.37   0.714   .084031  -.006598  .004523
mmetsi~4*|  -.0175064   .0027091    -6.61   0.000   .108353  -.022816 -.012197
mmetsi~5*|   -.006055   .0023148    -2.63   0.008   .169726  -.010592 -.001518
mmetsi~6*|  -.0128412   .0027609    -4.73   0.000   .109893  -.018252  -.00743
mmetsi~7*|  -.0337654   .0025561   -13.62   0.000   .213741  -.038775 -.028755
d_divi~2*|  -.0065694   .0031127    -2.13   0.033   .107639   -.01267 -.000469
d_divi~3*|  -.0008479   .0028907    -0.29   0.769   .129348  -.006514  .004818
d_divi~4*|   .0448236    .002739    15.18   0.000   .106985   .039455  .050192
d_divi~5*|   .0015994   .0027661     0.58   0.564   .168921  -.003822  .007021
d_divi~6*|    .004986   .0038249     1.29   0.196   .046564  -.002511  .012483
d_divi~7*|   .0418793   .0029202    13.32   0.000   .087364   .036156  .047603
d_divi~8*|   .0616507   .0025855    21.40   0.000   .116771   .056583  .066718
d_divi~9*|   .0297386   .0027222    10.47   0.000   .142934   .024403  .035074
iindm~_1*|  -.0262555   .0146726    -1.86   0.062   .006872  -.055013  .002502
iindm~_2*|  -.0324354   .0130981    -2.60   0.009   .003763  -.058107 -.006764
iindm~_3*|  -.0261135   .0051546    -5.27   0.000    .03278  -.036216 -.016011
iindml~6*|  -.0019812    .004653    -0.43   0.669   .036549  -.011101  .007139
iindml~7*|   .0107832   .0058356     1.81   0.070   .018581  -.000654  .022221
iindml~8*|     .00267   .0046039     0.58   0.564    .04255  -.006354  .011694
iindml~9*|  -.0094247   .0062381    -1.53   0.125   .016714  -.021651  .002802
iindm~10*|  -.0224351   .0054009    -4.30   0.000   .023777  -.033021  -.01185
iindm~11*|    -.01567   .0101494    -1.58   0.113   .005639  -.035563  .004222
iindm~12*|  -.0137185   .0106598    -1.32   0.188   .004885  -.034611  .007174
iindm~13*|   .0054307    .004433     1.21   0.225   .044961  -.003258  .014119
ooccm~_2*|    .008927   .0046027     1.91   0.056   .045191  -.000094  .017948
ooccm~_3*|   .0096003   .0072377     1.30   0.192   .010782  -.004585  .023786
ooccm~_4*|  -.0188247   .0055658    -3.48   0.000   .032623  -.029733 -.007916
ooccml~5*|  -.0002344   .0059858    -0.04   0.969   .018914  -.011966  .011498
ooccml~6*|  -.1320957   .0784462    -1.92   0.054   .000107  -.285847  .021656
ooccml~7*|  -.0008242   .0077693    -0.11   0.915   .010908  -.016052  .014403
ooccml~8*|  -.0169575   .0061368    -2.84   0.005   .021718  -.028985  -.00493
ooccml~9*|  -.0022342   .0133171    -0.17   0.866   .007419  -.028335  .023867
ooccm~10*|   .0103775   .0042428     2.41   0.016   .066026   .002062  .018693
ooccm~11*|    .021016   .0053565     3.77   0.000   .024931   .010517  .031515
ooccm~12*|   .0057703   .0056013     1.02   0.308   .024519  -.005208  .016749
ooccm~13*|  -.0058633   .0063169    -0.94   0.349   .017336  -.018244  .006518
ooccm~14*|   -.015558   .0128164    -1.25   0.213   .004539  -.040678  .009562
nindm~_1*|  -.0192433   .0115646    -1.72   0.086   .009126   -.04191  .003423
nindm~_2*|   .0145826   .0081212     1.75   0.081   .008003  -.001335    .0305
nindml~3*|  -.0186715   .0044259    -4.33   0.000    .07484  -.027346 -.009997
nindml~5*|   .0036607   .0032507     1.12   0.263   .098598  -.002711  .010032
nindml~6*|  -.0131622   .0038209    -3.51   0.000   .054043  -.020651 -.005673
nindml~7*|   .0077005    .005397     1.41   0.159   .018411  -.002877  .018278
nindml~8*|   -.011753   .0042312    -2.83   0.005    .03896  -.020046  -.00346
nindml~9*|  -.0074036   .0035285    -2.12   0.034   .061556  -.014319 -.000488
nindm~10*|  -.0000539   .0035055    -0.02   0.988   .066529  -.006925  .006817
nindm~11*|  -.0123359   .0044123    -2.85   0.004   .040013  -.020984 -.003688
nindm~12*|  -.0296408   .0051022    -6.07   0.000   .025101  -.039641 -.019641
 federal*|   .0233621   .0036164     6.19   0.000    .04189   .016274   .03045
  statew*|   .0245676   .0034818     6.75   0.000   .041987   .017744  .031392
   local*|   .0211612   .0028795     7.09   0.000   .068452   .015517  .026805
poccml~2*|   .0079525    .003077     2.56   0.011   .118679   .001922  .013983
poccml~3*|  -.0108847   .0038356    -2.88   0.004    .07512  -.018402 -.003367
poccml~4*|   -.029032   .0041285    -7.32   0.000    .06397  -.037124  -.02094
poccml~5*|   .0002075   .0041217     0.05   0.960   .042314  -.007871  .008286
poccml~6*|  -.0062404   .0126898    -0.50   0.619   .006925  -.031112  .018631
poccml~7*|  -.0087226   .0046296    -1.91   0.056   .069537  -.017796  .000351
poccml~8*|   .0004174   .0039717     0.11   0.916   .050333  -.007367  .008202
poccml~9*|   .0032527   .0037582     0.86   0.389   .069898  -.004113  .010619
poccm~10*|  -.0080632   .0039371    -2.07   0.038   .063564   -.01578 -.000347
y_year_1*|   .0224836   .0050937     4.25   0.000   .072979     .0125  .032467
y_year_2*|   .0306088   .0049405     5.88   0.000   .074519   .020925  .040292
y_year_3*|   .0048267   .0053658     0.89   0.372   .072907   -.00569  .015343
y_year_4*|   .0059139   .0051299     1.14   0.253   .116931  -.004141  .015968
y_year_6*|   .0041792   .0028175     1.47   0.140   .110031  -.001343  .009701
y_year_7*|   .0014966   .0028598     0.52   0.602   .109314  -.004108  .007102
y_year_8*|   .0216745   .0027228     7.70   0.000   .110308   .016338  .027011
y_year_9*|   .0160843   .0027572     5.70   0.000   .110688    .01068  .021488
y_yea~10*|   .0109119   .0027981     3.84   0.000   .109927   .005428  .016396
---------+--------------------------------------------------------------------
  obs. P |   .8127525
 pred. P |   .8224602  (at x-bar)
------------------------------------------------------------------------------
(*) dF/dx is for discrete change of dummy variable from 0 to 1
    z and P>|z| correspond to the test of the underlying coefficient being 0

. 
. dprobit responder mis1or5 nonspouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edasso
> c edBA edMA edPro edPhd exp exp2 exp3 exp4 marriedmale prevmarrmale marriedfem prevmarrfem singlefem blac
> k asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-d_divisn_9 iindmly_1-iindmly_13
>  ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local poccmlynew_2-poccmlynew_10 y_year_1
> -y_year_4 y_year_6-y_year_10 if _female

note: marriedmale dropped because of collinearity
note: prevmarrmale dropped because of collinearity
note: singlefem dropped because of collinearity
Iteration 0:   log likelihood = -118326.17
Iteration 1:   log likelihood = -113254.38
Iteration 2:   log likelihood = -113229.66
Iteration 3:   log likelihood = -113229.66

Probit regression, reporting marginal effects           Number of obs = 246603
                                                        LR chi2(96)   =10193.02
                                                        Prob > chi2   = 0.0000
Log likelihood = -113229.66                             Pseudo R2     = 0.0431

------------------------------------------------------------------------------
respon~r |      dF/dx   Std. Err.      z    P>|z|     x-bar  [    95% C.I.   ]
---------+--------------------------------------------------------------------
 mis1or5*|   .0251321   .0017342    14.14   0.000   .250224   .021733  .028531
nonspo~y*|   -.195426   .0028833   -76.17   0.000   .164082  -.201077 -.189775
spouse~y*|  -.0195969   .0021814    -9.14   0.000   .244547  -.023872 -.015321
    elem*|   .0169567   .0051536     3.19   0.001   .024724   .006856  .027058
   ed9th*|   .0192628   .0073789     2.51   0.012   .010093   .004801  .033725
  ed10th*|   .0086291   .0066563     1.28   0.202   .012863  -.004417  .021675
  ed11th*|   .0184538    .005648     3.15   0.002   .017291   .007384  .029524
ed12no~p*|   -.000116     .00773    -0.02   0.988   .009736  -.015266  .015035
edsome~l*|   .0120135   .0022217     5.33   0.000   .194515   .007659  .016368
 edassoc*|   .0115583   .0026994     4.21   0.000   .113421   .006268  .016849
    edBA*|   .0087414   .0024243     3.57   0.000   .211044    .00399  .013493
    edMA*|    .011739   .0034127     3.38   0.001   .079225    .00505  .018428
   edPro*|  -.0044872   .0074728    -0.61   0.545   .012161  -.019133  .010159
   edPhd*|   .0050919   .0083261     0.61   0.545   .009355  -.011227  .021411
     exp |   .0027232   .0013445     2.03   0.043   21.2274   .000088  .005358
    exp2 |  -.0004397    .000113    -3.89   0.000   573.343  -.000661 -.000218
    exp3 |   .0000145   3.64e-06     3.99   0.000   17479.9   7.4e-06  .000022
    exp4 |  -1.57e-07   3.93e-08    -3.99   0.000    575833  -2.3e-07 -8.0e-08
marrie~m*|  -.0212362   .0024806    -8.52   0.000   .561271  -.026098 -.016374
prevma~m*|   .0122846   .0025391     4.78   0.000   .227041   .007308  .017261
   black*|  -.0486898   .0027211   -18.88   0.000   .131783  -.054023 -.043357
   asian*|  -.0450788   .0047753   -10.03   0.000   .045677  -.054438 -.035719
   other*|  -.0012354   .0053458    -0.23   0.817   .023702  -.011713  .009242
hispanic*|  -.0022422   .0027884    -0.81   0.420   .138636  -.007707  .003223
foreign4*|   .0179542   .0034134     5.10   0.000   .061739   .011264  .024644
foreign5*|   .0226642   .0033686     6.47   0.000   .069431   .016062  .029266
mmetsi~2*|   .0147229   .0033302     4.31   0.000   .068827   .008196   .02125
mmetsi~3*|   .0021164    .003183     0.66   0.507   .083515  -.004122  .008355
mmetsi~4*|  -.0183394   .0030368    -6.18   0.000   .110574  -.024291 -.012387
mmetsi~5*|   .0005815   .0025803     0.23   0.822   .168603  -.004476  .005639
mmetsi~6*|  -.0088182   .0030866    -2.89   0.004   .108506  -.014868 -.002768
mmetsi~7*|  -.0310109   .0028831   -11.07   0.000   .212358  -.036662  -.02536
d_divi~2*|  -.0063557     .00354    -1.81   0.070   .110116  -.013294  .000583
d_divi~3*|  -.0034752   .0033303    -1.05   0.294   .126235  -.010002  .003052
d_divi~4*|   .0416459   .0031257    12.43   0.000   .109695    .03552  .047772
d_divi~5*|  -.0008502    .003132    -0.27   0.786   .183627  -.006989  .005288
d_divi~6*|   .0111502   .0041937     2.61   0.009   .049951   .002931   .01937
d_divi~7*|   .0395836   .0033278    11.09   0.000   .087217   .033061  .046106
d_divi~8*|   .0607451   .0029878    18.18   0.000   .105157   .054889  .066601
d_divi~9*|   .0267959   .0031631     8.15   0.000   .134775   .020596  .032995
iindm~_1*|   .0037407   .0212685     0.17   0.861   .002178  -.037945  .045426
iindm~_2*|   .0017834    .034311     0.05   0.959   .000588  -.065465  .069032
iindm~_3*|  -.0103952   .0136084    -0.78   0.437   .003946  -.037067  .016277
iindml~6*|   .0086293   .0068872     1.23   0.217   .017729  -.004869  .022128
iindml~7*|   .0148723   .0085674     1.69   0.091   .009663  -.001919  .031664
iindml~8*|   -.007734   .0058048    -1.35   0.177   .044655  -.019111  .003643
iindml~9*|  -.0053879   .0058983    -0.92   0.357    .03281  -.016948  .006172
iindm~10*|  -.0151858   .0075845    -2.05   0.040   .015361  -.030051  -.00032
iindm~11*|  -.0178884   .0090254    -2.04   0.041   .013066  -.035578 -.000199
iindm~12*|  -.0303257   .0136074    -2.34   0.020   .004165  -.056996 -.003656
iindm~13*|  -.0086861   .0046562    -1.89   0.059   .121479  -.017812   .00044
ooccm~_2*|   -.003911   .0050239    -0.78   0.433   .059326  -.013758  .005936
ooccm~_3*|   .0048269    .007304     0.66   0.512   .015154  -.009489  .019142
ooccm~_4*|  -.0158048   .0062093    -2.61   0.009   .032607  -.027975 -.003635
ooccml~5*|  -.0138686   .0044726    -3.16   0.002   .083928  -.022635 -.005102
ooccml~6*|  -.0160583   .0181513    -0.91   0.364   .002393  -.051634  .019518
ooccml~7*|  -.0151642   .0165567    -0.94   0.348   .002603  -.047615  .017286
ooccml~8*|  -.0196689   .0057327    -3.53   0.000   .039412  -.030905 -.008433
ooccml~9*|  -.0636164   .0300229    -2.31   0.021   .001436   -.12246 -.004773
ooccm~10*|   .0162627    .009188     1.72   0.086   .008114  -.001745  .034271
ooccm~11*|   .0182036   .0071332     2.47   0.014   .016646   .004223  .032184
ooccm~12*|  -.0130671   .0173414    -0.77   0.441    .00234  -.047056  .020921
ooccm~13*|   .0071924   .0112637     0.63   0.529   .005243  -.014884  .029269
ooccm~14*|  -.0425315    .039694    -1.14   0.254   .000568   -.12033  .035267
nindm~_1*|  -.0138046   .0185518    -0.76   0.446   .002547  -.050165  .022556
nindm~_2*|   .0264721   .0222179     1.13   0.259   .001152  -.017074  .070018
nindml~3*|  -.0212735   .0094719    -2.32   0.020   .009059  -.039838 -.002709
nindml~5*|   .0008277   .0041989     0.20   0.844   .082031  -.007402  .009057
nindml~6*|  -.0156905   .0063371    -2.54   0.011   .020458  -.028111  -.00327
nindml~7*|    .003483   .0064889     0.53   0.594   .017303  -.009235  .016201
nindml~8*|   -.006049   .0042431    -1.44   0.150   .067603  -.014365  .002267
nindml~9*|  -.0114605   .0044103    -2.64   0.008    .05796  -.020105 -.002816
nindm~10*|  -.0013254   .0033611    -0.39   0.693   .230212  -.007913  .005262
nindm~11*|  -.0103025   .0050709    -2.06   0.039    .04534  -.020241 -.000364
nindm~12*|  -.0165974   .0058366    -2.92   0.004   .025567  -.028037 -.005158
 federal*|   .0327252   .0041124     7.46   0.000   .035953   .024665  .040785
  statew*|   .0118187   .0033106     3.50   0.000   .065871    .00533  .018307
   local*|   .0219958   .0026802     7.93   0.000   .106008   .016743  .027249
poccml~2*|   -.005871   .0033078    -1.79   0.074   .199243  -.012354  .000612
poccml~3*|  -.0214851   .0043629    -5.07   0.000   .075859  -.030036 -.012934
poccml~4*|  -.0267826   .0046266    -6.01   0.000   .062891  -.035851 -.017715
poccml~5*|  -.0079263   .0031994    -2.50   0.012   .168542  -.014197 -.001656
poccml~6*|   .0125956   .0201763     0.61   0.542   .001821  -.026949   .05214
poccml~7*|  -.0040979   .0183973    -0.22   0.822   .002023  -.040156   .03196
poccml~8*|   .0163775   .0141741     1.12   0.263   .002818  -.011403  .044158
poccml~9*|  -.0004764   .0052258    -0.09   0.927   .037299  -.010719  .009766
poccm~10*|   -.002151   .0076714    -0.28   0.778   .011975  -.017187  .012885
y_year_1*|    .038288   .0057676     6.19   0.000   .069942   .026984  .049592
y_year_2*|   .0372121   .0057731     6.03   0.000   .072262   .025897  .048527
y_year_3*|   .0151224   .0062269     2.37   0.018   .071313   .002918  .027327
y_year_4*|   .0093354   .0061292     1.50   0.133   .116012  -.002678  .021348
y_year_6*|    .002201   .0031911     0.69   0.492   .111268  -.004054  .008456
y_year_7*|    .000333   .0032403     0.10   0.918   .109905  -.006018  .006684
y_year_8*|   .0207075   .0030859     6.50   0.000   .110445   .014659  .026756
y_year_9*|    .011524   .0031448     3.60   0.000   .111665    .00536  .017688
y_yea~10*|   .0106563   .0031379     3.34   0.001   .113636   .004506  .016806
---------+--------------------------------------------------------------------
  obs. P |   .8143697
 pred. P |   .8239666  (at x-bar)
------------------------------------------------------------------------------
(*) dF/dx is for discrete change of dummy variable from 0 to 1
    z and P>|z| correspond to the test of the underlying coefficient being 0

. 
. 
. /* table 4 and appendix tables A3 through a6 */
. 
. /* primary sample */
. /*men*/
. 
. /*Ols*/
. 
. reg lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3 exp
> 4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-
> d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local pocc
> mlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if !_female, robust

Linear regression                                      Number of obs =  258552
                                                       F( 93,258458) = 1818.85
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.4166
                                                       Root MSE      =  .49443

------------------------------------------------------------------------------
             |               Robust
     lnwage2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        elem |  -.2103307   .0059591   -35.30   0.000    -.2220103   -.1986511
       ed9th |  -.1877503   .0078517   -23.91   0.000    -.2031393   -.1723612
      ed10th |  -.1613591   .0075577   -21.35   0.000    -.1761719   -.1465463
      ed11th |  -.1449891   .0065362   -22.18   0.000       -.1578   -.1321783
   ed12nodip |  -.1203863   .0088192   -13.65   0.000    -.1376716   -.1031009
  edsomecoll |    .090034   .0028102    32.04   0.000      .084526     .095542
     edassoc |   .1397599   .0034522    40.48   0.000     .1329935    .1465262
        edBA |   .3157833   .0033489    94.30   0.000     .3092196     .322347
        edMA |   .4526986   .0049713    91.06   0.000     .4429549    .4624423
       edPro |   .8184875   .0123914    66.05   0.000     .7942007    .8427743
       edPhd |   .6799896   .0099268    68.50   0.000     .6605333    .6994459
         exp |   .0613176   .0018855    32.52   0.000     .0576221    .0650132
        exp2 |  -.0024727   .0001551   -15.94   0.000    -.0027767   -.0021686
        exp3 |    .000045   4.95e-06     9.09   0.000     .0000353    .0000547
        exp4 |  -3.24e-07   5.32e-08    -6.08   0.000    -4.28e-07   -2.20e-07
 marriedmale |   .1743046   .0029548    58.99   0.000     .1685133    .1800959
prevmarrmale |   .0584312   .0039719    14.71   0.000     .0506465     .066216
       black |  -.1460652   .0039234   -37.23   0.000     -.153755   -.1383754
       asian |  -.0317092   .0062076    -5.11   0.000    -.0438759   -.0195425
       other |  -.0726475   .0070481   -10.31   0.000    -.0864616   -.0588334
    hispanic |  -.1185495   .0035897   -33.03   0.000    -.1255852   -.1115138
    foreign4 |  -.0688848   .0051052   -13.49   0.000    -.0788908   -.0588788
    foreign5 |  -.1953078   .0045614   -42.82   0.000     -.204248   -.1863676
  mmetsize_2 |   .0652865   .0039517    16.52   0.000     .0575413    .0730316
  mmetsize_3 |   .0847707   .0037805    22.42   0.000      .077361    .0921804
  mmetsize_4 |   .1156749    .003552    32.57   0.000     .1087131    .1226366
  mmetsize_5 |   .1468645     .00313    46.92   0.000     .1407298    .1529991
  mmetsize_6 |    .219806    .003856    57.00   0.000     .2122484    .2273636
  mmetsize_7 |   .2282477   .0034242    66.66   0.000     .2215364    .2349589
  d_divisn_2 |  -.0071017   .0045977    -1.54   0.122     -.016113    .0019097
  d_divisn_3 |  -.0303045   .0041628    -7.28   0.000    -.0384635   -.0221455
  d_divisn_4 |  -.0867746   .0043146   -20.11   0.000    -.0952311    -.078318
  d_divisn_5 |  -.0578626   .0041407   -13.97   0.000    -.0659783   -.0497469
  d_divisn_6 |  -.0830739   .0055394   -15.00   0.000     -.093931   -.0722167
  d_divisn_7 |  -.1099939   .0047882   -22.97   0.000    -.1193787   -.1006092
  d_divisn_8 |  -.0272845   .0043624    -6.25   0.000    -.0358348   -.0187343
  d_divisn_9 |   .0125665    .004353     2.89   0.004     .0040348    .0210982
   iindmly_1 |  -.2445289   .0161301   -15.16   0.000    -.2761435   -.2129144
   iindmly_2 |   .1487755    .013629    10.92   0.000      .122063    .1754879
   iindmly_3 |  -.0565977   .0063327    -8.94   0.000    -.0690096   -.0441858
   iindmly_6 |   .0496924   .0057737     8.61   0.000     .0383761    .0610087
   iindmly_7 |  -.0729735   .0077713    -9.39   0.000     -.088205   -.0577419
   iindmly_8 |  -.2559482   .0063786   -40.13   0.000      -.26845   -.2434464
   iindmly_9 |   .0230697   .0097486     2.37   0.018     .0039627    .0421767
  iindmly_10 |  -.1138618   .0074658   -15.25   0.000    -.1284946   -.0992289
  iindmly_11 |  -.2087823   .0140935   -14.81   0.000    -.2364052   -.1811593
  iindmly_12 |  -.1745009    .015662   -11.14   0.000    -.2051981   -.1438037
  iindmly_13 |  -.2142976   .0063517   -33.74   0.000    -.2267469   -.2018484
   ooccmly_2 |  -.0596616   .0066988    -8.91   0.000    -.0727911   -.0465322
   ooccmly_3 |  -.0671645    .009464    -7.10   0.000    -.0857137   -.0486153
   ooccmly_4 |  -.0998134   .0082542   -12.09   0.000    -.1159915   -.0836353
   ooccmly_5 |  -.3136204   .0077919   -40.25   0.000    -.3288924   -.2983484
   ooccmly_6 |   -.599404   .1675945    -3.58   0.000    -.9278848   -.2709232
   ooccmly_7 |  -.2237623   .0095507   -23.43   0.000    -.2424814   -.2050432
   ooccmly_8 |  -.4118089   .0086256   -47.74   0.000    -.4287148    -.394903
   ooccmly_9 |  -.3625869   .0160854   -22.54   0.000    -.3941138     -.33106
  ooccmly_10 |  -.1865128   .0058992   -31.62   0.000     -.198075   -.1749505
  ooccmly_11 |  -.3157129   .0075035   -42.08   0.000    -.3304197   -.3010062
  ooccmly_12 |  -.3316832   .0076449   -43.39   0.000    -.3466669   -.3166995
  ooccmly_13 |  -.4046993    .009476   -42.71   0.000     -.423272   -.3861266
  ooccmly_14 |  -.5599583    .013378   -41.86   0.000    -.5861788   -.5337378
nindmlynew_1 |  -.3039609   .0162991   -18.65   0.000    -.3359066   -.2720152
nindmlynew_2 |   .1880882   .0101324    18.56   0.000      .168229    .2079475
nindmlynew_3 |   -.071292   .0057311   -12.44   0.000    -.0825248   -.0600592
nindmlynew_5 |  -.1665091   .0045749   -36.40   0.000    -.1754758   -.1575423
nindmlynew_6 |   .0495249   .0048644    10.18   0.000     .0399909    .0590589
nindmlynew_7 |  -.0085356   .0077771    -1.10   0.272    -.0237784    .0067073
nindmlynew_8 |   .0053573   .0066163     0.81   0.418    -.0076106    .0183251
nindmlynew_9 |  -.0501212   .0049764   -10.07   0.000    -.0598749   -.0403675
nindmlyne~10 |  -.2460357   .0050689   -48.54   0.000    -.2559707   -.2361007
nindmlyne~11 |  -.3156086   .0063315   -49.85   0.000    -.3280181   -.3031991
nindmlyne~12 |  -.3301542   .0073357   -45.01   0.000     -.344532   -.3157763
     federal |   .0777179   .0050368    15.43   0.000     .0678459    .0875898
      statew |  -.0903307   .0046662   -19.36   0.000    -.0994762   -.0811851
       local |  -.0335218     .00387    -8.66   0.000    -.0411068   -.0259368
poccmlynew_2 |  -.0993225   .0045501   -21.83   0.000    -.1082406   -.0904045
poccmlynew_3 |  -.3310341   .0055329   -59.83   0.000    -.3418784   -.3201898
poccmlynew_4 |  -.1640077    .006235   -26.30   0.000    -.1762281   -.1517873
poccmlynew_5 |  -.3544882   .0059418   -59.66   0.000    -.3661339   -.3428425
poccmlynew_6 |  -.3733555   .0180408   -20.70   0.000     -.408715    -.337996
poccmlynew_7 |   -.244879    .006428   -38.10   0.000    -.2574778   -.2322802
poccmlynew_8 |  -.1855327   .0053021   -34.99   0.000    -.1959246   -.1751408
poccmlynew_9 |  -.3177511   .0053093   -59.85   0.000    -.3281571    -.307345
poccmlyne~10 |  -.3721979   .0055991   -66.47   0.000    -.3831719   -.3612238
    y_year_1 |  -.0725863   .0076238    -9.52   0.000    -.0875288   -.0576438
    y_year_2 |   -.058304   .0075169    -7.76   0.000     -.073037    -.043571
    y_year_3 |  -.0421975   .0076811    -5.49   0.000    -.0572523   -.0271426
    y_year_4 |    -.03408   .0072975    -4.67   0.000     -.048383    -.019777
    y_year_6 |  -.0060696   .0041549    -1.46   0.144    -.0142131    .0020738
    y_year_7 |   -.004392   .0042379    -1.04   0.300    -.0126981    .0039141
    y_year_8 |  -.0116736   .0041521    -2.81   0.005    -.0198117   -.0035356
    y_year_9 |  -.0134742   .0042747    -3.15   0.002    -.0218524   -.0050959
   y_year_10 |  -.0096009   .0041255    -2.33   0.020    -.0176868   -.0015149
       _cons |   1.801567   .0094358   190.93   0.000     1.783073    1.820061
------------------------------------------------------------------------------

. 
. predict olshat
(option xb assumed; fitted values)

. 
. /* heckman two step with proxy in exclusions */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divis
> n_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local 
> poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if !_female, select(mis1or5 nonspouseprox
> y spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3 e
> xp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_
> 2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local po
> ccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two

Heckman selection model -- two-step estimates   Number of obs      =    318119
(regression model with sample selection)        Censored obs       =     59567
                                                Uncensored obs     =    258552

                                                Wald chi2(93)      = 169869.69
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.2107707   .0058341   -36.13   0.000    -.2222054    -.199336
       ed9th |  -.1929973   .0082317   -23.45   0.000    -.2091311   -.1768635
      ed10th |  -.1610849   .0078406   -20.54   0.000    -.1764521   -.1457176
      ed11th |   -.144948   .0069803   -20.77   0.000     -.158629   -.1312669
   ed12nodip |  -.1158002   .0090776   -12.76   0.000    -.1335919   -.0980085
  edsomecoll |   .0842575   .0030846    27.32   0.000     .0782117    .0903032
     edassoc |   .1338471    .003897    34.35   0.000      .126209    .1414851
        edBA |   .3130073   .0033751    92.74   0.000     .3063922    .3196224
        edMA |   .4506315   .0048188    93.52   0.000     .4411869    .4600761
       edPro |   .8332451   .0085876    97.03   0.000     .8164137    .8500765
       edPhd |   .6819438   .0086047    79.25   0.000      .665079    .6988086
         exp |    .055936   .0019053    29.36   0.000     .0522016    .0596704
        exp2 |  -.0020795    .000157   -13.25   0.000    -.0023871   -.0017718
        exp3 |   .0000351   5.01e-06     7.00   0.000     .0000253    .0000449
        exp4 |  -2.37e-07   5.39e-08    -4.40   0.000    -3.43e-07   -1.31e-07
 marriedmale |   .1555508    .003117    49.90   0.000     .1494416      .16166
prevmarrmale |   .0439551   .0040992    10.72   0.000     .0359208    .0519894
       black |  -.1307935   .0040373   -32.40   0.000    -.1387064   -.1228806
       asian |  -.0156735   .0059199    -2.65   0.008    -.0272763   -.0040708
       other |  -.0694477   .0072648    -9.56   0.000    -.0836865    -.055209
    hispanic |  -.1188367    .003622   -32.81   0.000    -.1259357   -.1117378
    foreign4 |  -.0709841   .0049422   -14.36   0.000    -.0806705   -.0612976
    foreign5 |  -.1969048   .0043051   -45.74   0.000    -.2053426    -.188467
  mmetsize_2 |   .0597293    .004344    13.75   0.000     .0512152    .0682434
  mmetsize_3 |   .0854933   .0040663    21.02   0.000     .0775234    .0934632
  mmetsize_4 |   .1222336   .0037889    32.26   0.000     .1148075    .1296598
  mmetsize_5 |    .149438   .0033053    45.21   0.000     .1429597    .1559162
  mmetsize_6 |   .2250212   .0039051    57.62   0.000     .2173672    .2326751
  mmetsize_7 |   .2425017   .0036548    66.35   0.000     .2353385     .249665
  d_divisn_2 |  -.0036364   .0047677    -0.76   0.446    -.0129809    .0057082
  d_divisn_3 |  -.0309733   .0044162    -7.01   0.000     -.039629   -.0223176
  d_divisn_4 |  -.1070111   .0046474   -23.03   0.000    -.1161198   -.0979024
  d_divisn_5 |  -.0591023    .004253   -13.90   0.000     -.067438   -.0507665
  d_divisn_6 |  -.0859735   .0058536   -14.69   0.000    -.0974465   -.0745006
  d_divisn_7 |  -.1286494   .0049706   -25.88   0.000    -.1383916   -.1189072
  d_divisn_8 |  -.0533565   .0046808   -11.40   0.000    -.0625308   -.0441822
  d_divisn_9 |   .0002488   .0044709     0.06   0.956    -.0085141    .0090117
   iindmly_1 |  -.2329391   .0193999   -12.01   0.000    -.2709621    -.194916
   iindmly_2 |   .1597718   .0167864     9.52   0.000     .1268711    .1926726
   iindmly_3 |  -.0454644   .0070381    -6.46   0.000    -.0592588     -.03167
   iindmly_6 |   .0506353   .0066553     7.61   0.000     .0375912    .0636794
   iindmly_7 |  -.0775333   .0086694    -8.94   0.000    -.0945251   -.0605415
   iindmly_8 |   -.255336   .0067935   -37.59   0.000     -.268651   -.2420211
   iindmly_9 |   .0260342   .0089746     2.90   0.004     .0084443    .0436241
  iindmly_10 |  -.1055334   .0075142   -14.04   0.000     -.120261   -.0908058
  iindmly_11 |  -.2014288   .0145648   -13.83   0.000    -.2299752   -.1728824
  iindmly_12 |  -.1691467   .0152133   -11.12   0.000    -.1989642   -.1393292
  iindmly_13 |  -.2156972   .0064488   -33.45   0.000    -.2283366   -.2030578
   ooccmly_2 |  -.0635143   .0067779    -9.37   0.000    -.0767989   -.0502298
   ooccmly_3 |   -.070828   .0106279    -6.66   0.000    -.0916583   -.0499978
   ooccmly_4 |  -.0923719   .0077532   -11.91   0.000    -.1075678   -.0771759
   ooccmly_5 |  -.3134444   .0087268   -35.92   0.000    -.3305487   -.2963402
   ooccmly_6 |  -.5320936   .1086761    -4.90   0.000    -.7450949   -.3190923
   ooccmly_7 |  -.2218551    .011016   -20.14   0.000     -.243446   -.2002643
   ooccmly_8 |  -.4026712   .0087876   -45.82   0.000    -.4198946   -.3854478
   ooccmly_9 |   -.360311   .0189719   -18.99   0.000    -.3974952   -.3231269
  ooccmly_10 |  -.1890675    .006327   -29.88   0.000    -.2014682   -.1766668
  ooccmly_11 |  -.3216232   .0082845   -38.82   0.000    -.3378604   -.3053859
  ooccmly_12 |  -.3319526   .0083099   -39.95   0.000    -.3482398   -.3156655
  ooccmly_13 |  -.3994453   .0092727   -43.08   0.000    -.4176194   -.3812712
  ooccmly_14 |  -.5518864   .0164074   -33.64   0.000    -.5840444   -.5197285
nindmlynew_1 |  -.2971702   .0159217   -18.66   0.000    -.3283762   -.2659641
nindmlynew_2 |   .1843252   .0117191    15.73   0.000     .1613563    .2072942
nindmlynew_3 |  -.0626464   .0062263   -10.06   0.000    -.0748497   -.0504431
nindmlynew_5 |  -.1670654   .0048533   -34.42   0.000    -.1765777   -.1575531
nindmlynew_6 |    .055066   .0054642    10.08   0.000     .0443565    .0657756
nindmlynew_7 |  -.0119914   .0079892    -1.50   0.133      -.02765    .0036672
nindmlynew_8 |   .0094962   .0060887     1.56   0.119    -.0024374    .0214298
nindmlynew_9 |  -.0472333   .0050875    -9.28   0.000    -.0572046   -.0372621
nindmlyne~10 |  -.2447298   .0050793   -48.18   0.000    -.2546851   -.2347745
nindmlyne~11 |  -.3087942   .0064156   -48.13   0.000    -.3213686   -.2962197
nindmlyne~12 |  -.3173564   .0071915   -44.13   0.000    -.3314515   -.3032613
     federal |   .0673468   .0056034    12.02   0.000     .0563645    .0783292
      statew |  -.1011186    .005335   -18.95   0.000     -.111575   -.0906621
       local |  -.0431142   .0044244    -9.74   0.000    -.0517859   -.0344425
poccmlynew_2 |  -.1030274   .0045558   -22.61   0.000    -.1119567   -.0940981
poccmlynew_3 |  -.3247458   .0055349   -58.67   0.000     -.335594   -.3138976
poccmlynew_4 |   -.152198   .0057585   -26.43   0.000    -.1634844   -.1409116
poccmlynew_5 |  -.3536206   .0061028   -57.94   0.000    -.3655819   -.3416594
poccmlynew_6 |  -.3682713   .0182816   -20.14   0.000    -.4041026     -.33244
poccmlynew_7 |  -.2399882   .0066853   -35.90   0.000    -.2530912   -.2268852
poccmlynew_8 |  -.1848533   .0058448   -31.63   0.000    -.1963089   -.1733978
poccmlynew_9 |  -.3176044   .0055643   -57.08   0.000    -.3285102   -.3066985
poccmlyne~10 |   -.366662   .0057382   -63.90   0.000    -.3779086   -.3554154
    y_year_1 |  -.0820503   .0079614   -10.31   0.000    -.0976542   -.0664463
    y_year_2 |  -.0711009   .0079467    -8.95   0.000     -.086676   -.0555257
    y_year_3 |  -.0443596    .007986    -5.55   0.000    -.0600118   -.0287074
    y_year_4 |  -.0366471   .0076126    -4.81   0.000    -.0515675   -.0217267
    y_year_6 |  -.0076526   .0043039    -1.78   0.075     -.016088    .0007829
    y_year_7 |  -.0050195   .0043308    -1.16   0.246    -.0135076    .0034687
    y_year_8 |  -.0207231   .0043162    -4.80   0.000    -.0291828   -.0122635
    y_year_9 |  -.0199178   .0043143    -4.62   0.000    -.0283736    -.011462
   y_year_10 |  -.0146709   .0043235    -3.39   0.001    -.0231448   -.0061969
       _cons |   1.921199   .0109956   174.72   0.000     1.899648     1.94275
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .0897182   .0061463    14.60   0.000     .0776717    .1017647
nonspousep~y |  -.6552563   .0079674   -82.24   0.000    -.6708722   -.6396404
 spouseproxy |   -.145837   .0067188   -21.71   0.000    -.1590055   -.1326684
        elem |   .0550163   .0148138     3.71   0.000     .0259818    .0840507
       ed9th |   .0712837   .0214152     3.33   0.001     .0293106    .1132567
      ed10th |   .0259652   .0197917     1.31   0.190    -.0128258    .0647562
      ed11th |   .0085446    .017698     0.48   0.629    -.0261429     .043232
   ed12nodip |   -.030035   .0224854    -1.34   0.182    -.0741056    .0140355
  edsomecoll |   .0274816   .0080506     3.41   0.001     .0117027    .0432605
     edassoc |   .0202155   .0103344     1.96   0.050    -.0000395    .0404705
        edBA |  -.0201469    .008781    -2.29   0.022    -.0373573   -.0029365
        edMA |  -.0368011   .0126609    -2.91   0.004    -.0616161   -.0119862
       edPro |  -.1912175   .0214567    -8.91   0.000    -.2332718   -.1491631
       edPhd |  -.0789848   .0227303    -3.47   0.001    -.1235354   -.0344343
         exp |   .0219371   .0047269     4.64   0.000     .0126726    .0312016
        exp2 |  -.0020936   .0003922    -5.34   0.000    -.0028624   -.0013249
        exp3 |   .0000551   .0000126     4.39   0.000     .0000305    .0000797
        exp4 |  -4.92e-07   1.35e-07    -3.64   0.000    -7.57e-07   -2.27e-07
 marriedmale |  -.0021726   .0091577    -0.24   0.812    -.0201214    .0157761
prevmarrmale |   .0583099   .0103717     5.62   0.000     .0379818     .078638
       black |  -.1468975   .0096602   -15.21   0.000    -.1658312   -.1279638
       asian |  -.1326931   .0144844    -9.16   0.000     -.161082   -.1043041
       other |   -.024945   .0191571    -1.30   0.193    -.0624922    .0126022
    hispanic |   .0156925   .0094716     1.66   0.098    -.0028716    .0342565
    foreign4 |   .0301311   .0124831     2.41   0.016     .0056647    .0545976
    foreign5 |   .0374435   .0109835     3.41   0.001     .0159162    .0589708
  mmetsize_2 |   .0567508   .0119641     4.74   0.000     .0333015    .0802001
  mmetsize_3 |  -.0039804   .0108727    -0.37   0.714    -.0252904    .0173297
  mmetsize_4 |  -.0657377   .0099443    -6.61   0.000    -.0852281   -.0462473
  mmetsize_5 |  -.0231132    .008775    -2.63   0.008    -.0403118   -.0059146
  mmetsize_6 |  -.0485162   .0102563    -4.73   0.000    -.0686181   -.0284143
  mmetsize_7 |  -.1256508   .0092222   -13.62   0.000    -.1437259   -.1075757
  d_divisn_2 |  -.0250267   .0117525    -2.13   0.033    -.0480613   -.0019922
  d_divisn_3 |   -.003256   .0110874    -0.29   0.769     -.024987     .018475
  d_divisn_4 |   .1847645   .0121741    15.18   0.000     .1609038    .2086252
  d_divisn_5 |     .00616   .0106737     0.58   0.564      -.01476      .02708
  d_divisn_6 |   .0193235    .014946     1.29   0.196    -.0099702    .0486172
  d_divisn_7 |   .1723726   .0129366    13.32   0.000     .1470174    .1977279
  d_divisn_8 |    .261255   .0122082    21.40   0.000     .2373275    .2851826
  d_divisn_9 |   .1190134   .0113628    10.47   0.000     .0967427    .1412841
   iindmly_1 |  -.0966943   .0518781    -1.86   0.062    -.1983735    .0049848
   iindmly_2 |  -.1183176   .0454827    -2.60   0.009    -.2074621   -.0291731
   iindmly_3 |  -.0963949   .0183067    -5.27   0.000    -.1322755   -.0605144
   iindmly_6 |  -.0075911   .0177713    -0.43   0.669    -.0424223      .02724
   iindmly_7 |   .0422481   .0233123     1.81   0.070    -.0034431    .0879393
   iindmly_8 |   .0103087    .017854     0.58   0.564    -.0246845    .0453019
   iindmly_9 |  -.0356627   .0232416    -1.53   0.125    -.0812154      .00989
  iindmly_10 |  -.0832108   .0193562    -4.30   0.000    -.1211483   -.0452734
  iindmly_11 |  -.0586698   .0370405    -1.58   0.113    -.1312678    .0139281
  iindmly_12 |  -.0515242   .0391404    -1.32   0.188     -.128238    .0251896
  iindmly_13 |   .0210634   .0173491     1.21   0.225    -.0129402     .055067
   ooccmly_2 |   .0348277   .0182287     1.91   0.056    -.0008999    .0705552
   ooccmly_3 |   .0375436   .0288036     1.30   0.192    -.0189103    .0939976
   ooccmly_4 |  -.0702416   .0201792    -3.48   0.000    -.1097921   -.0306911
   ooccmly_5 |  -.0009007   .0229919    -0.04   0.969    -.0459641    .0441626
   ooccmly_6 |  -.4279097   .2224818    -1.92   0.054     -.863966    .0081467
   ooccmly_7 |  -.0031639   .0297811    -0.11   0.915    -.0615338    .0552061
   ooccmly_8 |  -.0634151   .0223453    -2.84   0.005    -.1072111   -.0196191
   ooccmly_9 |  -.0085553   .0507969    -0.17   0.866    -.1081154    .0910049
  ooccmly_10 |   .0405538   .0168603     2.41   0.016     .0075082    .0735994
  ooccmly_11 |   .0838898   .0222375     3.77   0.000     .0403051    .1274745
  ooccmly_12 |   .0224027   .0219656     1.02   0.308     -.020649    .0654544
  ooccmly_13 |  -.0223173   .0238095    -0.94   0.349     -.068983    .0243484
  ooccmly_14 |  -.0582576   .0467847    -1.25   0.213    -.1499539    .0334387
nindmlynew_1 |   -.071654   .0417597    -1.72   0.086    -.1535014    .0101934
nindmlynew_2 |   .0575692   .0329512     1.75   0.081    -.0070139    .1221522
nindmlynew_3 |  -.0698646   .0161337    -4.33   0.000    -.1014861    -.038243
nindmlynew_5 |   .0141466   .0126289     1.12   0.263    -.0106056    .0388988
nindmlynew_6 |   -.049586   .0141135    -3.51   0.000     -.077248    -.021924
nindmlynew_7 |   .0300033   .0213176     1.41   0.159    -.0117785    .0717851
nindmlynew_8 |  -.0443439   .0156751    -2.83   0.005    -.0750665   -.0136213
nindmlynew_9 |  -.0281398   .0132622    -2.12   0.034    -.0541332   -.0021464
nindmlyne~10 |  -.0002072   .0134734    -0.02   0.988    -.0266145    .0262002
nindmlyne~11 |  -.0465034   .0163186    -2.85   0.004    -.0784872   -.0145195
nindmlyne~12 |  -.1087852   .0179229    -6.07   0.000    -.1439134    -.073657
     federal |   .0935248   .0151048     6.19   0.000       .06392    .1231296
      statew |   .0985706   .0146109     6.75   0.000     .0699338    .1272074
       local |   .0841835   .0118711     7.09   0.000     .0609166    .1074505
poccmlynew_2 |   .0309078   .0120928     2.56   0.011     .0072062    .0546093
poccmlynew_3 |  -.0411775   .0142842    -2.88   0.004     -.069174    -.013181
poccmlynew_4 |  -.1070175   .0146241    -7.32   0.000    -.1356802   -.0783548
poccmlynew_5 |   .0007978   .0158549     0.05   0.960    -.0302773    .0318729
poccmlynew_6 |  -.0237325     .04775    -0.50   0.619    -.1173207    .0698558
poccmlynew_7 |  -.0330955    .017341    -1.91   0.056    -.0670833    .0008922
poccmlynew_8 |   .0016055   .0152883     0.11   0.916     -.028359      .03157
poccmlynew_9 |   .0125665    .014593     0.86   0.389    -.0160353    .0411682
poccmlyne~10 |  -.0306185   .0147706    -2.07   0.038    -.0595683   -.0016686
    y_year_1 |   .0896111   .0210795     4.25   0.000     .0482961    .1309261
    y_year_2 |   .1237082   .0210516     5.88   0.000     .0824478    .1649687
    y_year_3 |   .0186925   .0209364     0.89   0.372     -.022342    .0597271
    y_year_4 |     .02292   .0200462     1.14   0.253    -.0163699    .0622098
    y_year_6 |   .0161598   .0109587     1.47   0.140    -.0053189    .0376386
    y_year_7 |   .0057653   .0110394     0.52   0.602    -.0158716    .0274021
    y_year_8 |   .0859928    .011162     7.70   0.000     .0641157      .10787
    y_year_9 |    .063275   .0111071     5.70   0.000     .0415055    .0850446
   y_year_10 |   .0426027   .0110985     3.84   0.000       .02085    .0643555
       _cons |   1.060594   .0252444    42.01   0.000     1.011116    1.110072
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.2671549   .0115462   -23.14   0.000    -.2897851   -.2445247
-------------+----------------------------------------------------------------
         rho |   -0.51301
       sigma |  .52076165
      lambda | -.26715492   .0115462
------------------------------------------------------------------------------

. 
. 
. /* heckman two step with proxy in main equation */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divis
> n_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local 
> poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 nonspouseproxy spouseproxy if !_female, s
> elect(mis1or5 nonspouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA 
> edPro edPhd exp exp2 exp3 exp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmet
> size_2-mmetsize_7 d_divisn_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew
> _12 federal statew local poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two 

Heckman selection model -- two-step estimates   Number of obs      =    318119
(regression model with sample selection)        Censored obs       =     59567
                                                Uncensored obs     =    258552

                                                Wald chi2(95)      = 169146.15
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.2108494   .0059513   -35.43   0.000    -.2225137   -.1991852
       ed9th |  -.1934261    .008371   -23.11   0.000     -.209833   -.1770191
      ed10th |  -.1613398   .0078745   -20.49   0.000    -.1767736   -.1459059
      ed11th |  -.1450118   .0069978   -20.72   0.000    -.1587273   -.1312963
   ed12nodip |  -.1155917   .0091156   -12.68   0.000    -.1334579   -.0977256
  edsomecoll |   .0843045   .0031311    26.92   0.000     .0781677    .0904414
     edassoc |   .1339538   .0039194    34.18   0.000     .1262719    .1416357
        edBA |   .3132012   .0034106    91.83   0.000     .3065166    .3198859
        edMA |    .450893   .0048816    92.37   0.000     .4413252    .4604608
       edPro |   .8337051   .0093681    88.99   0.000      .815344    .8520663
       edPhd |    .682046   .0087545    77.91   0.000     .6648875    .6992046
         exp |   .0557189   .0019412    28.70   0.000     .0519143    .0595235
        exp2 |  -.0020681   .0001612   -12.83   0.000    -.0023841   -.0017522
        exp3 |   .0000349   5.11e-06     6.84   0.000     .0000249    .0000449
        exp4 |  -2.37e-07   5.47e-08    -4.33   0.000    -3.44e-07   -1.29e-07
 marriedmale |    .147892   .0035003    42.25   0.000     .1410316    .1547524
prevmarrmale |   .0436227   .0042139    10.35   0.000     .0353637    .0518818
       black |  -.1301012   .0050787   -25.62   0.000    -.1400553   -.1201472
       asian |  -.0142159   .0065131    -2.18   0.029    -.0269814   -.0014505
       other |  -.0692175   .0072951    -9.49   0.000    -.0835157   -.0549193
    hispanic |  -.1185627   .0036487   -32.49   0.000     -.125714   -.1114113
    foreign4 |   -.070272   .0049892   -14.08   0.000    -.0800506   -.0604933
    foreign5 |  -.1964599   .0043853   -44.80   0.000    -.2050549    -.187865
  mmetsize_2 |   .0597611   .0044638    13.39   0.000     .0510122    .0685101
  mmetsize_3 |   .0856799   .0040764    21.02   0.000     .0776902    .0936695
  mmetsize_4 |   .1228328   .0039861    30.82   0.000     .1150203    .1306454
  mmetsize_5 |   .1497924   .0033372    44.89   0.000     .1432515    .1563333
  mmetsize_6 |   .2254979   .0040162    56.15   0.000     .2176264    .2333695
  mmetsize_7 |   .2432814   .0044408    54.78   0.000     .2345775    .2519852
  d_divisn_2 |  -.0035726   .0048167    -0.74   0.458    -.0130131    .0058679
  d_divisn_3 |  -.0310823    .004427    -7.02   0.000    -.0397591   -.0224056
  d_divisn_4 |  -.1075714   .0057279   -18.78   0.000    -.1187979   -.0963449
  d_divisn_5 |  -.0590519    .004263   -13.85   0.000    -.0674072   -.0506967
  d_divisn_6 |  -.0861112   .0058793   -14.65   0.000    -.0976344   -.0745881
  d_divisn_7 |  -.1293778   .0059265   -21.83   0.000    -.1409935   -.1177621
  d_divisn_8 |  -.0542342   .0066042    -8.21   0.000    -.0671782   -.0412902
  d_divisn_9 |  -.0000912   .0050374    -0.02   0.986    -.0099643     .009782
   iindmly_1 |  -.2328702    .019528   -11.92   0.000    -.2711443    -.194596
   iindmly_2 |   .1595949   .0169588     9.41   0.000     .1263563    .1928335
   iindmly_3 |  -.0453459     .00727    -6.24   0.000    -.0595949    -.031097
   iindmly_6 |   .0504774   .0066721     7.57   0.000     .0374002    .0635546
   iindmly_7 |  -.0778224   .0087248    -8.92   0.000    -.0949226   -.0607221
   iindmly_8 |  -.2553474   .0068125   -37.48   0.000    -.2686997   -.2419951
   iindmly_9 |   .0262345    .009019     2.91   0.004     .0085576    .0439113
  iindmly_10 |  -.1053353   .0076875   -13.70   0.000    -.1204026   -.0902681
  iindmly_11 |  -.2011305   .0146403   -13.74   0.000    -.2298249   -.1724362
  iindmly_12 |  -.1689987   .0152781   -11.06   0.000    -.1989431   -.1390542
  iindmly_13 |  -.2157583   .0064734   -33.33   0.000    -.2284459   -.2030707
   ooccmly_2 |  -.0634138   .0068223    -9.30   0.000    -.0767853   -.0500423
   ooccmly_3 |  -.0707528   .0106731    -6.63   0.000    -.0916718   -.0498339
   ooccmly_4 |  -.0919136   .0078858   -11.66   0.000    -.1073695   -.0764577
   ooccmly_5 |  -.3131591   .0087472   -35.80   0.000    -.3303032   -.2960149
   ooccmly_6 |  -.5299397   .1093417    -4.85   0.000    -.7442455   -.3156339
   ooccmly_7 |  -.2216584   .0110431   -20.07   0.000    -.2433024   -.2000143
   ooccmly_8 |  -.4021179   .0088861   -45.25   0.000    -.4195344   -.3847015
   ooccmly_9 |  -.3602768   .0190175   -18.94   0.000    -.3975505   -.3230032
  ooccmly_10 |  -.1891347   .0063858   -29.62   0.000    -.2016506   -.1766187
  ooccmly_11 |  -.3218102   .0084545   -38.06   0.000    -.3383807   -.3052397
  ooccmly_12 |  -.3321218   .0083416   -39.82   0.000     -.348471   -.3157725
  ooccmly_13 |   -.399153   .0093022   -42.91   0.000    -.4173849    -.380921
  ooccmly_14 |   -.552347   .0164935   -33.49   0.000    -.5846736   -.5200203
nindmlynew_1 |  -.2970777   .0160198   -18.54   0.000    -.3284759   -.2656795
nindmlynew_2 |   .1832987   .0117937    15.54   0.000     .1601836    .2064139
nindmlynew_3 |  -.0625463   .0063836    -9.80   0.000     -.075058   -.0500347
nindmlynew_5 |  -.1671675   .0048718   -34.31   0.000    -.1767162   -.1576189
nindmlynew_6 |    .055035    .005562     9.89   0.000     .0441337    .0659362
nindmlynew_7 |  -.0120981   .0080265    -1.51   0.132    -.0278297    .0036336
nindmlynew_8 |   .0097654   .0061649     1.58   0.113    -.0023175    .0218483
nindmlynew_9 |  -.0471601   .0051282    -9.20   0.000    -.0572112    -.037109
nindmlyne~10 |  -.2447259   .0050912   -48.07   0.000    -.2547044   -.2347474
nindmlyne~11 |  -.3085315   .0064931   -47.52   0.000    -.3212577   -.2958053
nindmlyne~12 |  -.3167681   .0075209   -42.12   0.000    -.3315089   -.3020274
     federal |   .0673607    .005876    11.46   0.000     .0558439    .0788775
      statew |  -.1011072   .0056316   -17.95   0.000    -.1121449   -.0900695
       local |  -.0430061   .0046965    -9.16   0.000    -.0522112   -.0338011
poccmlynew_2 |  -.1029824   .0045983   -22.40   0.000    -.1119948     -.09397
poccmlynew_3 |  -.3243956   .0056107   -57.82   0.000    -.3353924   -.3133989
poccmlynew_4 |  -.1517564   .0061373   -24.73   0.000    -.1637852   -.1397275
poccmlynew_5 |  -.3533955   .0061169   -57.77   0.000    -.3653844   -.3414066
poccmlynew_6 |   -.368276   .0183284   -20.09   0.000    -.4041989   -.3323531
poccmlynew_7 |  -.2398484   .0067307   -35.63   0.000    -.2530404   -.2266564
poccmlynew_8 |  -.1848927   .0058582   -31.56   0.000    -.1963746   -.1734108
poccmlynew_9 |  -.3175311   .0055818   -56.89   0.000    -.3284712    -.306591
poccmlyne~10 |  -.3665775   .0057836   -63.38   0.000    -.3779131   -.3552419
    y_year_1 |    -.08237   .0081473   -10.11   0.000    -.0983384   -.0664016
    y_year_2 |  -.0715839   .0083168    -8.61   0.000    -.0878846   -.0552832
    y_year_3 |  -.0444086   .0080108    -5.54   0.000    -.0601095   -.0287077
    y_year_4 |  -.0366995   .0076414    -4.80   0.000    -.0516763   -.0217226
    y_year_6 |  -.0076725   .0043251    -1.77   0.076    -.0161495    .0008046
    y_year_7 |  -.0049329   .0043419    -1.14   0.256    -.0134428     .003577
    y_year_8 |  -.0209252   .0046327    -4.52   0.000    -.0300051   -.0118454
    y_year_9 |  -.0198418   .0044954    -4.41   0.000    -.0286527   -.0110309
   y_year_10 |  -.0145354   .0044135    -3.29   0.001    -.0231857   -.0058851
nonspousep~y |   .0000783   .0146356     0.01   0.996     -.028607    .0287636
 spouseproxy |   .0124461   .0036631     3.40   0.001     .0052665    .0196256
       _cons |    1.92462   .0164595   116.93   0.000      1.89236     1.95688
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .0897182   .0061463    14.60   0.000     .0776717    .1017647
nonspousep~y |  -.6552563   .0079674   -82.24   0.000    -.6708722   -.6396404
 spouseproxy |   -.145837   .0067188   -21.71   0.000    -.1590055   -.1326684
        elem |   .0550163   .0148138     3.71   0.000     .0259818    .0840507
       ed9th |   .0712837   .0214152     3.33   0.001     .0293106    .1132567
      ed10th |   .0259652   .0197917     1.31   0.190    -.0128258    .0647562
      ed11th |   .0085446    .017698     0.48   0.629    -.0261429     .043232
   ed12nodip |   -.030035   .0224854    -1.34   0.182    -.0741056    .0140355
  edsomecoll |   .0274816   .0080506     3.41   0.001     .0117027    .0432605
     edassoc |   .0202155   .0103344     1.96   0.050    -.0000395    .0404705
        edBA |  -.0201469    .008781    -2.29   0.022    -.0373573   -.0029365
        edMA |  -.0368011   .0126609    -2.91   0.004    -.0616161   -.0119862
       edPro |  -.1912175   .0214567    -8.91   0.000    -.2332718   -.1491631
       edPhd |  -.0789848   .0227303    -3.47   0.001    -.1235354   -.0344343
         exp |   .0219371   .0047269     4.64   0.000     .0126726    .0312016
        exp2 |  -.0020936   .0003922    -5.34   0.000    -.0028624   -.0013249
        exp3 |   .0000551   .0000126     4.39   0.000     .0000305    .0000797
        exp4 |  -4.92e-07   1.35e-07    -3.64   0.000    -7.57e-07   -2.27e-07
 marriedmale |  -.0021726   .0091577    -0.24   0.812    -.0201214    .0157761
prevmarrmale |   .0583099   .0103717     5.62   0.000     .0379818     .078638
       black |  -.1468975   .0096602   -15.21   0.000    -.1658312   -.1279638
       asian |  -.1326931   .0144844    -9.16   0.000     -.161082   -.1043041
       other |   -.024945   .0191571    -1.30   0.193    -.0624922    .0126022
    hispanic |   .0156925   .0094716     1.66   0.098    -.0028716    .0342565
    foreign4 |   .0301311   .0124831     2.41   0.016     .0056647    .0545976
    foreign5 |   .0374435   .0109835     3.41   0.001     .0159162    .0589708
  mmetsize_2 |   .0567508   .0119641     4.74   0.000     .0333015    .0802001
  mmetsize_3 |  -.0039804   .0108727    -0.37   0.714    -.0252904    .0173297
  mmetsize_4 |  -.0657377   .0099443    -6.61   0.000    -.0852281   -.0462473
  mmetsize_5 |  -.0231132    .008775    -2.63   0.008    -.0403118   -.0059146
  mmetsize_6 |  -.0485162   .0102563    -4.73   0.000    -.0686181   -.0284143
  mmetsize_7 |  -.1256508   .0092222   -13.62   0.000    -.1437259   -.1075757
  d_divisn_2 |  -.0250267   .0117525    -2.13   0.033    -.0480613   -.0019922
  d_divisn_3 |   -.003256   .0110874    -0.29   0.769     -.024987     .018475
  d_divisn_4 |   .1847645   .0121741    15.18   0.000     .1609038    .2086252
  d_divisn_5 |     .00616   .0106737     0.58   0.564      -.01476      .02708
  d_divisn_6 |   .0193235    .014946     1.29   0.196    -.0099702    .0486172
  d_divisn_7 |   .1723726   .0129366    13.32   0.000     .1470174    .1977279
  d_divisn_8 |    .261255   .0122082    21.40   0.000     .2373275    .2851826
  d_divisn_9 |   .1190134   .0113628    10.47   0.000     .0967427    .1412841
   iindmly_1 |  -.0966943   .0518781    -1.86   0.062    -.1983735    .0049848
   iindmly_2 |  -.1183176   .0454827    -2.60   0.009    -.2074621   -.0291731
   iindmly_3 |  -.0963949   .0183067    -5.27   0.000    -.1322755   -.0605144
   iindmly_6 |  -.0075911   .0177713    -0.43   0.669    -.0424223      .02724
   iindmly_7 |   .0422481   .0233123     1.81   0.070    -.0034431    .0879393
   iindmly_8 |   .0103087    .017854     0.58   0.564    -.0246845    .0453019
   iindmly_9 |  -.0356627   .0232416    -1.53   0.125    -.0812154      .00989
  iindmly_10 |  -.0832108   .0193562    -4.30   0.000    -.1211483   -.0452734
  iindmly_11 |  -.0586698   .0370405    -1.58   0.113    -.1312678    .0139281
  iindmly_12 |  -.0515242   .0391404    -1.32   0.188     -.128238    .0251896
  iindmly_13 |   .0210634   .0173491     1.21   0.225    -.0129402     .055067
   ooccmly_2 |   .0348277   .0182287     1.91   0.056    -.0008999    .0705552
   ooccmly_3 |   .0375436   .0288036     1.30   0.192    -.0189103    .0939976
   ooccmly_4 |  -.0702416   .0201792    -3.48   0.000    -.1097921   -.0306911
   ooccmly_5 |  -.0009007   .0229919    -0.04   0.969    -.0459641    .0441626
   ooccmly_6 |  -.4279097   .2224818    -1.92   0.054     -.863966    .0081467
   ooccmly_7 |  -.0031639   .0297811    -0.11   0.915    -.0615338    .0552061
   ooccmly_8 |  -.0634151   .0223453    -2.84   0.005    -.1072111   -.0196191
   ooccmly_9 |  -.0085553   .0507969    -0.17   0.866    -.1081154    .0910049
  ooccmly_10 |   .0405538   .0168603     2.41   0.016     .0075082    .0735994
  ooccmly_11 |   .0838898   .0222375     3.77   0.000     .0403051    .1274745
  ooccmly_12 |   .0224027   .0219656     1.02   0.308     -.020649    .0654544
  ooccmly_13 |  -.0223173   .0238095    -0.94   0.349     -.068983    .0243484
  ooccmly_14 |  -.0582576   .0467847    -1.25   0.213    -.1499539    .0334387
nindmlynew_1 |   -.071654   .0417597    -1.72   0.086    -.1535014    .0101934
nindmlynew_2 |   .0575692   .0329512     1.75   0.081    -.0070139    .1221522
nindmlynew_3 |  -.0698646   .0161337    -4.33   0.000    -.1014861    -.038243
nindmlynew_5 |   .0141466   .0126289     1.12   0.263    -.0106056    .0388988
nindmlynew_6 |   -.049586   .0141135    -3.51   0.000     -.077248    -.021924
nindmlynew_7 |   .0300033   .0213176     1.41   0.159    -.0117785    .0717851
nindmlynew_8 |  -.0443439   .0156751    -2.83   0.005    -.0750665   -.0136213
nindmlynew_9 |  -.0281398   .0132622    -2.12   0.034    -.0541332   -.0021464
nindmlyne~10 |  -.0002072   .0134734    -0.02   0.988    -.0266145    .0262002
nindmlyne~11 |  -.0465034   .0163186    -2.85   0.004    -.0784872   -.0145195
nindmlyne~12 |  -.1087852   .0179229    -6.07   0.000    -.1439134    -.073657
     federal |   .0935248   .0151048     6.19   0.000       .06392    .1231296
      statew |   .0985706   .0146109     6.75   0.000     .0699338    .1272074
       local |   .0841835   .0118711     7.09   0.000     .0609166    .1074505
poccmlynew_2 |   .0309078   .0120928     2.56   0.011     .0072062    .0546093
poccmlynew_3 |  -.0411775   .0142842    -2.88   0.004     -.069174    -.013181
poccmlynew_4 |  -.1070175   .0146241    -7.32   0.000    -.1356802   -.0783548
poccmlynew_5 |   .0007978   .0158549     0.05   0.960    -.0302773    .0318729
poccmlynew_6 |  -.0237325     .04775    -0.50   0.619    -.1173207    .0698558
poccmlynew_7 |  -.0330955    .017341    -1.91   0.056    -.0670833    .0008922
poccmlynew_8 |   .0016055   .0152883     0.11   0.916     -.028359      .03157
poccmlynew_9 |   .0125665    .014593     0.86   0.389    -.0160353    .0411682
poccmlyne~10 |  -.0306185   .0147706    -2.07   0.038    -.0595683   -.0016686
    y_year_1 |   .0896111   .0210795     4.25   0.000     .0482961    .1309261
    y_year_2 |   .1237082   .0210516     5.88   0.000     .0824478    .1649687
    y_year_3 |   .0186925   .0209364     0.89   0.372     -.022342    .0597271
    y_year_4 |     .02292   .0200462     1.14   0.253    -.0163699    .0622098
    y_year_6 |   .0161598   .0109587     1.47   0.140    -.0053189    .0376386
    y_year_7 |   .0057653   .0110394     0.52   0.602    -.0158716    .0274021
    y_year_8 |   .0859928    .011162     7.70   0.000     .0641157      .10787
    y_year_9 |    .063275   .0111071     5.70   0.000     .0415055    .0850446
   y_year_10 |   .0426027   .0110985     3.84   0.000       .02085    .0643555
       _cons |   1.060594   .0252444    42.01   0.000     1.011116    1.110072
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.2757729   .0508591    -5.42   0.000    -.3754549   -.1760909
-------------+----------------------------------------------------------------
         rho |   -0.52784
       sigma |  .52245649
      lambda | -.27577291   .0508591
------------------------------------------------------------------------------

. 
. predict selecthat
(option xb assumed; fitted values)

. 
. 
. 
. /* women */
. 
. /*Ols*/
. 
. reg lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3 exp
> 4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-d_
> divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local poccml
> ynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if _female, robust

Linear regression                                      Number of obs =  200826
                                                       F( 93,200732) = 1252.94
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.3795
                                                       Root MSE      =  .47362

------------------------------------------------------------------------------
             |               Robust
     lnwage2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        elem |  -.1790013   .0083244   -21.50   0.000     -.195317   -.1626857
       ed9th |  -.1801491   .0111453   -16.16   0.000    -.2019936   -.1583046
      ed10th |    -.16271   .0099113   -16.42   0.000    -.1821359   -.1432841
      ed11th |  -.1479553   .0087041   -17.00   0.000    -.1650151   -.1308955
   ed12nodip |  -.1055259   .0125588    -8.40   0.000    -.1301408    -.080911
  edsomecoll |   .0954218   .0030844    30.94   0.000     .0893765     .101467
     edassoc |   .1851589   .0037215    49.75   0.000     .1778647     .192453
        edBA |   .3671559   .0035404   103.71   0.000     .3602169     .374095
        edMA |     .53815   .0048303   111.41   0.000     .5286828    .5476173
       edPro |   .7882947   .0145643    54.13   0.000     .7597491    .8168403
       edPhd |   .7630046   .0133092    57.33   0.000     .7369188    .7890903
         exp |   .0659313   .0019307    34.15   0.000     .0621472    .0697154
        exp2 |  -.0034598   .0001624   -21.31   0.000    -.0037781   -.0031416
        exp3 |   .0000823   5.26e-06    15.65   0.000      .000072    .0000926
        exp4 |  -7.28e-07   5.73e-08   -12.71   0.000    -8.40e-07   -6.16e-07
  marriedfem |   .0475296      .0031    15.33   0.000     .0414537    .0536054
 prevmarrfem |   .0148891   .0036436     4.09   0.000     .0077476    .0220305
       black |  -.0826219   .0036521   -22.62   0.000      -.08978   -.0754638
       asian |  -.0154023   .0067568    -2.28   0.023    -.0286455   -.0021591
       other |  -.0308608   .0070094    -4.40   0.000    -.0445991   -.0171225
    hispanic |  -.0960736    .003838   -25.03   0.000     -.103596   -.0885512
    foreign4 |  -.0561001   .0054355   -10.32   0.000    -.0667535   -.0454467
    foreign5 |  -.1753696   .0056458   -31.06   0.000    -.1864352   -.1643039
  mmetsize_2 |   .0777638   .0043584    17.84   0.000     .0692215    .0863061
  mmetsize_3 |   .0987534    .004108    24.04   0.000     .0907019    .1068049
  mmetsize_4 |   .1379101   .0038037    36.26   0.000     .1304549    .1453653
  mmetsize_5 |   .1665101   .0034093    48.84   0.000     .1598281    .1731922
  mmetsize_6 |   .2524597   .0041634    60.64   0.000     .2442995    .2606198
  mmetsize_7 |   .2558031   .0037838    67.60   0.000     .2483869    .2632193
  d_divisn_2 |  -.0191387   .0051042    -3.75   0.000    -.0291427   -.0091347
  d_divisn_3 |  -.0561926   .0047145   -11.92   0.000    -.0654328   -.0469523
  d_divisn_4 |  -.0882043   .0047063   -18.74   0.000    -.0974285   -.0789802
  d_divisn_5 |  -.0628355   .0045912   -13.69   0.000    -.0718342   -.0538369
  d_divisn_6 |  -.0946885   .0058131   -16.29   0.000     -.106082    -.083295
  d_divisn_7 |  -.1333408    .005206   -25.61   0.000    -.1435445    -.123137
  d_divisn_8 |  -.0497032      .0049   -10.14   0.000    -.0593071   -.0400993
  d_divisn_9 |   .0104621   .0049891     2.10   0.036     .0006835    .0202407
   iindmly_1 |  -.2164032   .0264694    -8.18   0.000    -.2682827   -.1645237
   iindmly_2 |   .1767926   .0426612     4.14   0.000     .0931777    .2604075
   iindmly_3 |  -.0587351   .0187669    -3.13   0.002    -.0955177   -.0219525
   iindmly_6 |   .0616588   .0081387     7.58   0.000     .0457071    .0776105
   iindmly_7 |  -.0660524   .0114699    -5.76   0.000    -.0885331   -.0435718
   iindmly_8 |  -.2946429   .0075402   -39.08   0.000    -.3094214   -.2798644
   iindmly_9 |  -.0161176   .0069348    -2.32   0.020    -.0297096   -.0025256
  iindmly_10 |  -.1076441   .0104899   -10.26   0.000    -.1282041    -.087084
  iindmly_11 |   -.185218   .0118479   -15.63   0.000    -.2084397   -.1619963
  iindmly_12 |   -.188316   .0209935    -8.97   0.000    -.2294629   -.1471692
  iindmly_13 |  -.1579567   .0054022   -29.24   0.000    -.1685449   -.1473685
   ooccmly_2 |  -.0469082   .0063448    -7.39   0.000    -.0593438   -.0344726
   ooccmly_3 |   -.047212    .008776    -5.38   0.000    -.0644128   -.0300112
   ooccmly_4 |  -.1384373   .0088334   -15.67   0.000    -.1557506    -.121124
   ooccmly_5 |  -.2240449   .0052336   -42.81   0.000    -.2343026   -.2137873
   ooccmly_6 |  -.6660186   .0311644   -21.37   0.000       -.7271   -.6049372
   ooccmly_7 |  -.1184855   .0198553    -5.97   0.000    -.1574015   -.0795695
   ooccmly_8 |  -.3761428    .007867   -47.81   0.000     -.391562   -.3607236
   ooccmly_9 |  -.4461341   .0336547   -13.26   0.000    -.5120965   -.3801718
  ooccmly_10 |  -.1879626   .0126136   -14.90   0.000     -.212685   -.1632403
  ooccmly_11 |  -.3460225   .0090278   -38.33   0.000    -.3637168   -.3283281
  ooccmly_12 |  -.3059444   .0229986   -13.30   0.000    -.3510211   -.2608677
  ooccmly_13 |  -.3536788   .0177588   -19.92   0.000    -.3884856   -.3188719
  ooccmly_14 |  -.3134321   .0316115    -9.92   0.000      -.37539   -.2514743
nindmlynew_1 |  -.2552215   .0262518    -9.72   0.000    -.3066744   -.2037686
nindmlynew_2 |    .089689   .0293388     3.06   0.002     .0321856    .1471924
nindmlynew_3 |  -.0839758   .0121695    -6.90   0.000    -.1078278   -.0601238
nindmlynew_5 |  -.2112089   .0058458   -36.13   0.000    -.2226664   -.1997514
nindmlynew_6 |   .0117907   .0076424     1.54   0.123    -.0031883    .0267697
nindmlynew_7 |  -.0133791   .0091194    -1.47   0.142     -.031253    .0044948
nindmlynew_8 |  -.0334716   .0054759    -6.11   0.000    -.0442041    -.022739
nindmlynew_9 |  -.0743801   .0059215   -12.56   0.000     -.085986   -.0627741
nindmlyne~10 |  -.1917166   .0042235   -45.39   0.000    -.1999945   -.1834387
nindmlyne~11 |  -.2644749   .0072709   -36.37   0.000    -.2787256   -.2502241
nindmlyne~12 |   -.294612   .0089954   -32.75   0.000    -.3122427   -.2769813
     federal |    .155647   .0058802    26.47   0.000      .144122     .167172
      statew |  -.0668416      .0042   -15.91   0.000    -.0750735   -.0586097
       local |  -.0663714   .0034657   -19.15   0.000    -.0731641   -.0595787
poccmlynew_2 |  -.1117254   .0044262   -25.24   0.000    -.1204007   -.1030502
poccmlynew_3 |  -.4019968   .0064029   -62.78   0.000    -.4145464   -.3894472
poccmlynew_4 |  -.2300678    .006939   -33.16   0.000    -.2436681   -.2164675
poccmlynew_5 |  -.2389084   .0042214   -56.59   0.000    -.2471823   -.2306345
poccmlynew_6 |  -.3902962   .0360181   -10.84   0.000    -.4608908   -.3197016
poccmlynew_7 |  -.1589352   .0247015    -6.43   0.000    -.2073496   -.1105208
poccmlynew_8 |  -.0476018    .017409    -2.73   0.006    -.0817232   -.0134805
poccmlynew_9 |  -.3742016   .0071373   -52.43   0.000    -.3881905   -.3602127
poccmlyne~10 |  -.3848198   .0116032   -33.16   0.000    -.4075619   -.3620778
    y_year_1 |   -.089332   .0081398   -10.97   0.000    -.1052858   -.0733783
    y_year_2 |  -.0862039   .0081983   -10.51   0.000    -.1022724   -.0701355
    y_year_3 |  -.0716768   .0081961    -8.75   0.000    -.0877409   -.0556128
    y_year_4 |  -.0586717   .0077934    -7.53   0.000    -.0739467   -.0433968
    y_year_6 |   .0010742    .004541     0.24   0.813     -.007826    .0099744
    y_year_7 |   .0031557   .0044863     0.70   0.482    -.0056373    .0119488
    y_year_8 |  -.0113934   .0044809    -2.54   0.011    -.0201759   -.0026109
    y_year_9 |  -.0148428   .0045377    -3.27   0.001    -.0237366   -.0059489
   y_year_10 |   .0000259   .0044144     0.01   0.995    -.0086263    .0086781
       _cons |   1.672934   .0098129   170.48   0.000     1.653701    1.692167
------------------------------------------------------------------------------

. 
. predict temp
(option xb assumed; fitted values)

. 
. replace olshat = temp if _female
(246602 real changes made)

. 
. drop temp

. 
. 
. /* heckman two step with proxy in exclusions */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_
> 2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local po
> ccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if _female, select(mis1or5 nonspouseproxy s
> pouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3 exp4
>  marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-d_d
> ivisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local poccmly
> new_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two

Heckman selection model -- two-step estimates   Number of obs      =    246603
(regression model with sample selection)        Censored obs       =     45777
                                                Uncensored obs     =    200826

                                                Wald chi2(93)      = 118816.97
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.1796303   .0078473   -22.89   0.000    -.1950107     -.16425
       ed9th |  -.1837944   .0110726   -16.60   0.000    -.2054963   -.1620925
      ed10th |  -.1650022   .0098101   -16.82   0.000    -.1842296   -.1457748
      ed11th |  -.1526305   .0084576   -18.05   0.000    -.1692071   -.1360539
   ed12nodip |   -.105707   .0112757    -9.37   0.000    -.1278069    -.083607
  edsomecoll |    .091366   .0031877    28.66   0.000     .0851181    .0976138
     edassoc |   .1810859   .0038574    46.94   0.000     .1735255    .1886463
        edBA |   .3632142   .0034437   105.47   0.000     .3564647    .3699637
        edMA |   .5328993   .0048271   110.40   0.000     .5234384    .5423601
       edPro |   .7860484   .0101783    77.23   0.000     .7660993    .8059974
       edPhd |   .7582572   .0114123    66.44   0.000     .7358896    .7806248
         exp |   .0634269   .0019017    33.35   0.000     .0596996    .0671542
        exp2 |   -.003248   .0001604   -20.25   0.000    -.0035624   -.0029336
        exp3 |   .0000762   5.19e-06    14.70   0.000     .0000661    .0000864
        exp4 |  -6.68e-07   5.63e-08   -11.86   0.000    -7.78e-07   -5.57e-07
  marriedfem |   .0434814   .0031245    13.92   0.000     .0373575    .0496052
 prevmarrfem |    .008322   .0036509     2.28   0.023     .0011663    .0154777
       black |  -.0735497   .0036724   -20.03   0.000    -.0807475   -.0663519
       asian |  -.0043119   .0062459    -0.69   0.490    -.0165536    .0079299
       other |  -.0298761   .0071179    -4.20   0.000     -.043827   -.0159253
    hispanic |  -.0951144   .0038057   -24.99   0.000    -.1025735   -.0876553
    foreign4 |  -.0589975   .0051888   -11.37   0.000    -.0691673   -.0488276
    foreign5 |   -.177986   .0051323   -34.68   0.000    -.1880451   -.1679268
  mmetsize_2 |    .074851   .0045717    16.37   0.000     .0658905    .0838114
  mmetsize_3 |   .0986377   .0043024    22.93   0.000      .090205    .1070703
  mmetsize_4 |   .1422029   .0039912    35.63   0.000     .1343803    .1500255
  mmetsize_5 |    .166973   .0034844    47.92   0.000     .1601438    .1738022
  mmetsize_6 |   .2548558   .0041377    61.59   0.000     .2467459    .2629656
  mmetsize_7 |   .2636051   .0038785    67.97   0.000     .2560035    .2712067
  d_divisn_2 |  -.0174412   .0050457    -3.46   0.001    -.0273306   -.0075518
  d_divisn_3 |  -.0558326   .0047136   -11.85   0.000     -.065071   -.0465941
  d_divisn_4 |  -.0976391   .0048688   -20.05   0.000    -.1071817   -.0880965
  d_divisn_5 |  -.0626568    .004465   -14.03   0.000     -.071408   -.0539057
  d_divisn_6 |  -.0974225   .0060709   -16.05   0.000    -.1093213   -.0855237
  d_divisn_7 |  -.1421316   .0052372   -27.14   0.000    -.1523963   -.1318668
  d_divisn_8 |  -.0625486   .0050105   -12.48   0.000     -.072369   -.0527281
  d_divisn_9 |   .0051174   .0047926     1.07   0.286    -.0042759    .0145107
   iindmly_1 |  -.2157091    .027824    -7.75   0.000    -.2702431   -.1611751
   iindmly_2 |   .1766882   .0430423     4.10   0.000     .0923268    .2610496
   iindmly_3 |  -.0569291    .017515    -3.25   0.001    -.0912579   -.0226002
   iindmly_6 |   .0603088   .0093744     6.43   0.000     .0419352    .0786824
   iindmly_7 |  -.0686836   .0119563    -5.74   0.000    -.0921175   -.0452497
   iindmly_8 |  -.2918858   .0077185   -37.82   0.000    -.3070137   -.2767578
   iindmly_9 |  -.0149978   .0078171    -1.92   0.055    -.0303191    .0003235
  iindmly_10 |  -.1041766   .0099518   -10.47   0.000    -.1236817   -.0846716
  iindmly_11 |  -.1807731   .0118859   -15.21   0.000    -.2040691   -.1574771
  iindmly_12 |  -.1808519   .0175948   -10.28   0.000    -.2153371   -.1463666
  iindmly_13 |  -.1557954   .0060703   -25.67   0.000    -.1676931   -.1438978
   ooccmly_2 |  -.0457688   .0065703    -6.97   0.000    -.0586464   -.0328912
   ooccmly_3 |  -.0480415   .0097841    -4.91   0.000    -.0672181    -.028865
   ooccmly_4 |  -.1348289   .0080799   -16.69   0.000    -.1506652   -.1189925
   ooccmly_5 |  -.2208444   .0057803   -38.21   0.000    -.2321736   -.2095153
   ooccmly_6 |  -.6581867    .025361   -25.95   0.000    -.7078933   -.6084802
   ooccmly_7 |  -.1144633   .0216326    -5.29   0.000    -.1568624   -.0720641
   ooccmly_8 |  -.3714005    .007496   -49.55   0.000    -.3860925   -.3567085
   ooccmly_9 |  -.4330795   .0348825   -12.42   0.000     -.501448    -.364711
  ooccmly_10 |  -.1904228   .0127535   -14.93   0.000    -.2154192   -.1654263
  ooccmly_11 |  -.3488215   .0101235   -34.46   0.000    -.3686632   -.3289797
  ooccmly_12 |  -.3019721   .0227597   -13.27   0.000    -.3465802   -.2573639
  ooccmly_13 |  -.3540648   .0155545   -22.76   0.000    -.3845511   -.3235786
  ooccmly_14 |  -.3033342   .0447062    -6.79   0.000    -.3909568   -.2157116
nindmlynew_1 |  -.2506749    .024108   -10.40   0.000    -.2979257   -.2034241
nindmlynew_2 |   .0862432   .0309498     2.79   0.005     .0255827    .1469036
nindmlynew_3 |  -.0793542   .0124534    -6.37   0.000    -.1037624    -.054946
nindmlynew_5 |  -.2104404   .0058236   -36.14   0.000    -.2218544   -.1990263
nindmlynew_6 |   .0159456   .0085237     1.87   0.061    -.0007605    .0326518
nindmlynew_7 |  -.0142862   .0089959    -1.59   0.112    -.0319178    .0033455
nindmlynew_8 |  -.0323196   .0057509    -5.62   0.000     -.043591   -.0210481
nindmlynew_9 |  -.0716423   .0059368   -12.07   0.000    -.0832782   -.0600065
nindmlyne~10 |  -.1908109   .0045731   -41.72   0.000     -.199774   -.1818477
nindmlyne~11 |  -.2612796    .006941   -37.64   0.000    -.2748838   -.2476754
nindmlyne~12 |  -.2901786   .0079625   -36.44   0.000    -.3057848   -.2745725
     federal |   .1480241   .0061586    24.04   0.000     .1359534    .1600948
      statew |  -.0695925   .0046258   -15.04   0.000    -.0786588   -.0605261
       local |  -.0710796   .0038552   -18.44   0.000    -.0786356   -.0635235
poccmlynew_2 |  -.1102035   .0044539   -24.74   0.000    -.1189329   -.1014741
poccmlynew_3 |  -.3961804   .0058308   -67.95   0.000    -.4076085   -.3847523
poccmlynew_4 |  -.2236209   .0060639   -36.88   0.000    -.2355059   -.2117359
poccmlynew_5 |  -.2368088   .0043208   -54.81   0.000    -.2452774   -.2283402
poccmlynew_6 |  -.3906417   .0284498   -13.73   0.000    -.4464023    -.334881
poccmlynew_7 |  -.1570627   .0252847    -6.21   0.000    -.2066198   -.1075055
poccmlynew_8 |   -.049754   .0203322    -2.45   0.014    -.0896045   -.0099036
poccmlynew_9 |  -.3724059   .0072781   -51.17   0.000    -.3866708   -.3581411
poccmlyne~10 |  -.3828642   .0107574   -35.59   0.000    -.4039484     -.36178
    y_year_1 |  -.0973028   .0088532   -10.99   0.000    -.1146547   -.0799509
    y_year_2 |  -.0942605     .00881   -10.70   0.000    -.1115279   -.0769932
    y_year_3 |  -.0747967   .0088313    -8.47   0.000    -.0921057   -.0574877
    y_year_4 |  -.0603709   .0084817    -7.12   0.000    -.0769947   -.0437472
    y_year_6 |   .0006725   .0045424     0.15   0.882    -.0082304    .0095755
    y_year_7 |   .0032139   .0045771     0.70   0.483    -.0057569    .0121848
    y_year_8 |  -.0157184   .0045618    -3.45   0.001    -.0246595   -.0067774
    y_year_9 |  -.0168459   .0045556    -3.70   0.000    -.0257746   -.0079171
   y_year_10 |  -.0016934   .0045378    -0.37   0.709    -.0105872    .0072005
       _cons |   1.728079   .0110305   156.66   0.000     1.706459    1.749698
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .0994385   .0070319    14.14   0.000     .0856561    .1132208
nonspousep~y |  -.6383277   .0083799   -76.17   0.000     -.654752   -.6219034
 spouseproxy |  -.0744283   .0081467    -9.14   0.000    -.0903956    -.058461
        elem |   .0675595   .0211889     3.19   0.001     .0260301    .1090889
       ed9th |    .077171   .0306854     2.51   0.012     .0170288    .1373132
      ed10th |   .0338714    .026543     1.28   0.202    -.0181519    .0858946
      ed11th |   .0737731   .0233841     3.15   0.002     .0279411     .119605
   ed12nodip |  -.0004481   .0298635    -0.02   0.988    -.0589794    .0580832
  edsomecoll |   .0470618   .0088236     5.33   0.000      .029768    .0643557
     edassoc |    .045415   .0107864     4.21   0.000     .0242742    .0665559
        edBA |   .0340978   .0095451     3.57   0.000     .0153897    .0528059
        edMA |   .0462075   .0136863     3.38   0.001     .0193829    .0730322
       edPro |  -.0172081   .0284378    -0.61   0.545    -.0729451    .0385289
       edPhd |   .0198599   .0327746     0.61   0.545    -.0443772     .084097
         exp |   .0105247   .0051964     2.03   0.043       .00034    .0207095
        exp2 |  -.0016993   .0004367    -3.89   0.000    -.0025552   -.0008434
        exp3 |   .0000561   .0000141     3.99   0.000     .0000286    .0000837
        exp4 |  -6.05e-07   1.52e-07    -3.99   0.000    -9.03e-07   -3.08e-07
  marriedfem |  -.0824666   .0096799    -8.52   0.000    -.1014389   -.0634944
 prevmarrfem |   .0480666   .0100604     4.78   0.000     .0283485    .0677846
       black |  -.1775133   .0094003   -18.88   0.000    -.1959376    -.159089
       asian |  -.1631105   .0162607   -10.03   0.000    -.1949809   -.1312401
       other |  -.0047646   .0205742    -0.23   0.817    -.0450893    .0355601
    hispanic |  -.0086407   .0107148    -0.81   0.420    -.0296413    .0123598
    foreign4 |   .0714801   .0140129     5.10   0.000     .0440154    .0989447
    foreign5 |   .0909162    .014047     6.47   0.000     .0633847    .1184478
  mmetsize_2 |   .0582677   .0135052     4.31   0.000     .0317981    .0847373
  mmetsize_3 |   .0082058   .0123808     0.66   0.507    -.0160602    .0324718
  mmetsize_4 |  -.0691532   .0111809    -6.18   0.000    -.0910674    -.047239
  mmetsize_5 |    .002249   .0099866     0.23   0.822    -.0173244    .0218224
  mmetsize_6 |   -.033669   .0116448    -2.89   0.004    -.0564923   -.0108456
  mmetsize_7 |  -.1162594   .0104984   -11.07   0.000    -.1368358    -.095683
  d_divisn_2 |  -.0243492   .0134447    -1.81   0.070    -.0507003     .002002
  d_divisn_3 |  -.0133693   .0127527    -1.05   0.294    -.0383642    .0116257
  d_divisn_4 |   .1717011   .0138132    12.43   0.000     .1446278    .1987744
  d_divisn_5 |  -.0032829   .0120813    -0.27   0.786    -.0269619    .0203961
  d_divisn_6 |   .0439031   .0168286     2.61   0.009     .0109197    .0768864
  d_divisn_7 |   .1632592   .0147162    11.09   0.000      .134416    .1921023
  d_divisn_8 |   .2595815    .014277    18.18   0.000     .2315991    .2875638
  d_divisn_9 |   .1075035   .0131941     8.15   0.000     .0816434    .1333635
   iindmly_1 |   .0145558   .0833255     0.17   0.861    -.1487592    .1778708
   iindmly_2 |   .0069149   .1334669     0.05   0.959    -.2546755    .2685053
   iindmly_3 |  -.0394591   .0507525    -0.78   0.437    -.1389321    .0600139
   iindmly_6 |   .0338669   .0274548     1.23   0.217    -.0199435    .0876774
   iindmly_7 |   .0590761   .0350053     1.69   0.091     -.009533    .1276851
   iindmly_8 |  -.0295223   .0218888    -1.35   0.177    -.0724235    .0133789
   iindmly_9 |  -.0206387   .0223949    -0.92   0.357     -.064532    .0232546
  iindmly_10 |  -.0572197   .0278822    -2.05   0.040    -.1118678   -.0025716
  iindmly_11 |  -.0671047   .0328948    -2.04   0.041    -.1315772   -.0026321
  iindmly_12 |  -.1115114   .0477405    -2.34   0.020     -.205081   -.0179419
  iindmly_13 |  -.0331835   .0175859    -1.89   0.059    -.0676512    .0012843
   ooccmly_2 |  -.0150233   .0191806    -0.78   0.433    -.0526166    .0225701
   ooccmly_3 |   .0188155   .0287173     0.66   0.512    -.0374694    .0751005
   ooccmly_4 |  -.0595468   .0228226    -2.61   0.009    -.1042784   -.0148153
   ooccmly_5 |  -.0525351   .0166136    -3.16   0.002    -.0850972    -.019973
   ooccmly_6 |  -.0603813   .0664578    -0.91   0.364    -.1906363    .0698737
   ooccmly_7 |  -.0571039   .0607935    -0.94   0.348    -.1762569    .0620491
   ooccmly_8 |  -.0737003   .0208489    -3.53   0.000    -.1145634   -.0328372
   ooccmly_9 |   -.223212   .0966957    -2.31   0.021    -.4127321   -.0336919
  ooccmly_10 |    .064779   .0377572     1.72   0.086    -.0092237    .1387817
  ooccmly_11 |    .072741   .0295066     2.47   0.014     .0149092    .1305729
  ooccmly_12 |  -.0493771   .0641039    -0.77   0.441    -.1750185    .0762642
  ooccmly_13 |   .0281637    .044694     0.63   0.529    -.0594349    .1157623
  ooccmly_14 |  -.1535494    .134582    -1.14   0.254    -.4173253    .1102266
nindmlynew_1 |  -.0521005   .0684163    -0.76   0.446    -.1861939     .081993
nindmlynew_2 |    .107715   .0954515     1.13   0.259    -.0793664    .2947965
nindmlynew_3 |  -.0793567   .0341516    -2.32   0.020    -.1462926   -.0124209
nindmlynew_5 |   .0032031   .0162687     0.20   0.844     -.028683    .0350892
nindmlynew_6 |  -.0590892   .0232717    -2.54   0.011    -.1047009   -.0134775
nindmlynew_7 |   .0135438    .025388     0.53   0.594    -.0362158    .0633035
nindmlynew_8 |  -.0231631   .0160997    -1.44   0.150    -.0547179    .0083918
nindmlynew_9 |  -.0435164   .0164585    -2.64   0.008    -.0757745   -.0112582
nindmlyne~10 |  -.0051158   .0129569    -0.39   0.693    -.0305109    .0202793
nindmlyne~11 |  -.0391704    .018972    -2.06   0.039    -.0763549   -.0019859
nindmlyne~12 |  -.0624324   .0213858    -2.92   0.004    -.1043479    -.020517
     federal |   .1342931   .0179901     7.46   0.000     .0990333     .169553
      statew |   .0465551    .013297     3.50   0.000     .0204935    .0726167
       local |   .0878488   .0110765     7.93   0.000     .0661394    .1095583
poccmlynew_2 |  -.0225487   .0126251    -1.79   0.074    -.0472935    .0021961
poccmlynew_3 |  -.0804924   .0158624    -5.07   0.000    -.1115821   -.0494026
poccmlynew_4 |  -.0995088   .0165554    -6.01   0.000    -.1319568   -.0670608
poccmlynew_5 |  -.0303507   .0121388    -2.50   0.012    -.0541424    -.006559
poccmlynew_6 |   .0498344   .0817677     0.61   0.542    -.1104274    .2100962
poccmlynew_7 |  -.0157233   .0700835    -0.22   0.822    -.1530845    .1216378
poccmlynew_8 |   .0652732    .058315     1.12   0.263    -.0490222    .1795685
poccmlynew_9 |  -.0018398   .0201651    -0.09   0.927    -.0413626     .037683
poccmlyne~10 |  -.0082824    .029428    -0.28   0.778    -.0659603    .0493954
    y_year_1 |   .1580038   .0255322     6.19   0.000     .1079615    .2080461
    y_year_2 |   .1531936   .0254252     6.03   0.000     .1033611     .203026
    y_year_3 |   .0598802   .0252778     2.37   0.018     .0103366    .1094238
    y_year_4 |   .0365585   .0243259     1.50   0.133    -.0111193    .0842363
    y_year_6 |    .008533   .0124101     0.69   0.492    -.0157904    .0328565
    y_year_7 |   .0012874    .012535     0.10   0.918    -.0232808    .0258556
    y_year_8 |   .0825067   .0126894     6.50   0.000     .0576359    .1073774
    y_year_9 |   .0452811   .0125668     3.60   0.000     .0206506    .0699116
   y_year_10 |   .0418154   .0125046     3.34   0.001     .0173068    .0663239
       _cons |   1.113545   .0281581    39.55   0.000     1.058357    1.168734
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.1419002    .012091   -11.74   0.000     -.165598   -.1182023
-------------+----------------------------------------------------------------
         rho |   -0.29477
       sigma |  .48139298
      lambda | -.14190016    .012091
------------------------------------------------------------------------------

. 
. 
. /* heckman two step with proxy in main equation */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_
> 2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local po
> ccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 nonspouseproxy spouseproxy if _female, sele
> ct(mis1or5 nonspouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edP
> ro edPhd exp exp2 exp3 exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_
> 2-mmetsize_7 d_divisn_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 f
> ederal statew local poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two 

Heckman selection model -- two-step estimates   Number of obs      =    246603
(regression model with sample selection)        Censored obs       =     45777
                                                Uncensored obs     =    200826

                                                Wald chi2(95)      = 121190.30
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.1764989   .0078913   -22.37   0.000    -.1919656   -.1610322
       ed9th |  -.1802176   .0110714   -16.28   0.000    -.2019172   -.1585179
      ed10th |  -.1636327   .0097406   -16.80   0.000     -.182724   -.1445415
      ed11th |  -.1497421   .0084971   -17.62   0.000    -.1663961   -.1330881
   ed12nodip |  -.1053315   .0111759    -9.42   0.000     -.127236   -.0834271
  edsomecoll |   .0931044    .003281    28.38   0.000     .0866737     .099535
     edassoc |   .1825713   .0039106    46.69   0.000     .1749066     .190236
        edBA |   .3638165   .0034632   105.05   0.000     .3570287    .3706043
        edMA |   .5334887    .004851   109.98   0.000      .523981    .5429964
       edPro |   .7847793   .0100863    77.81   0.000     .7650105     .804548
       edPhd |   .7574974   .0113049    67.01   0.000     .7353403    .7796546
         exp |   .0634833    .001889    33.61   0.000     .0597808    .0671857
        exp2 |  -.0032763   .0001614   -20.30   0.000    -.0035926   -.0029601
        exp3 |   .0000772   5.23e-06    14.77   0.000      .000067    .0000875
        exp4 |  -6.79e-07   5.68e-08   -11.96   0.000    -7.91e-07   -5.68e-07
  marriedfem |   .0294629   .0037908     7.77   0.000     .0220331    .0368928
 prevmarrfem |    .009334   .0036916     2.53   0.011     .0020985    .0165694
       black |  -.0792022   .0051325   -15.43   0.000    -.0892617   -.0691427
       asian |   -.010128   .0069768    -1.45   0.147    -.0238023    .0035462
       other |  -.0300898   .0070482    -4.27   0.000     -.043904   -.0162757
    hispanic |  -.0949409   .0037706   -25.18   0.000    -.1023313   -.0875506
    foreign4 |  -.0569992   .0053186   -10.72   0.000    -.0674235    -.046575
    foreign5 |  -.1755619   .0053714   -32.68   0.000    -.1860896   -.1650342
  mmetsize_2 |   .0760387   .0046381    16.39   0.000     .0669481    .0851293
  mmetsize_3 |   .0984469   .0042637    23.09   0.000     .0900902    .1068037
  mmetsize_4 |   .1396374   .0041433    33.70   0.000     .1315167     .147758
  mmetsize_5 |    .166521   .0034518    48.24   0.000     .1597557    .1732863
  mmetsize_6 |   .2532721   .0041407    61.17   0.000     .2451565    .2613877
  mmetsize_7 |   .2593969   .0044706    58.02   0.000     .2506347    .2681591
  d_divisn_2 |  -.0182603   .0050344    -3.63   0.000    -.0281276    -.008393
  d_divisn_3 |  -.0561308   .0046805   -11.99   0.000    -.0653045   -.0469572
  d_divisn_4 |  -.0927555   .0056977   -16.28   0.000    -.1039227   -.0815883
  d_divisn_5 |  -.0628425   .0044256   -14.20   0.000    -.0715164   -.0541686
  d_divisn_6 |  -.0956963   .0060701   -15.77   0.000    -.1075935   -.0837992
  d_divisn_7 |    -.13716    .005984   -22.92   0.000    -.1488885   -.1254316
  d_divisn_8 |  -.0552201   .0066981    -8.24   0.000    -.0683481   -.0420921
  d_divisn_9 |   .0085556   .0051676     1.66   0.098    -.0015726    .0186838
   iindmly_1 |  -.2153461   .0275351    -7.82   0.000    -.2693139   -.1613782
   iindmly_2 |   .1779305   .0425862     4.18   0.000     .0944632    .2613978
   iindmly_3 |  -.0579893   .0173577    -3.34   0.001    -.0920097   -.0239689
   iindmly_6 |   .0613665   .0093012     6.60   0.000     .0431364    .0795966
   iindmly_7 |  -.0671961    .011885    -5.65   0.000    -.0904903   -.0439019
   iindmly_8 |  -.2928332   .0076585   -38.24   0.000    -.3078436   -.2778229
   iindmly_9 |  -.0157122   .0077481    -2.03   0.043    -.0308982   -.0005263
  iindmly_10 |  -.1059946   .0099092   -10.70   0.000    -.1254162    -.086573
  iindmly_11 |  -.1831143   .0118365   -15.47   0.000    -.2063134   -.1599152
  iindmly_12 |  -.1850806   .0175573   -10.54   0.000    -.2194923   -.1506689
  iindmly_13 |  -.1567971   .0060401   -25.96   0.000    -.1686355   -.1449587
   ooccmly_2 |  -.0464521   .0065111    -7.13   0.000    -.0592136   -.0336905
   ooccmly_3 |  -.0474747   .0096915    -4.90   0.000    -.0664696   -.0284798
   ooccmly_4 |  -.1365266   .0080725   -16.91   0.000    -.1523484   -.1207049
   ooccmly_5 |  -.2223425   .0058011   -38.33   0.000    -.2337126   -.2109725
   ooccmly_6 |  -.6585518   .0251624   -26.17   0.000    -.7078692   -.6092345
   ooccmly_7 |  -.1164941   .0214457    -5.43   0.000    -.1585269   -.0744613
   ooccmly_8 |  -.3733007   .0075436   -49.49   0.000    -.3880858   -.3585156
   ooccmly_9 |  -.4393644   .0347884   -12.63   0.000    -.5075485   -.3711803
  ooccmly_10 |   -.188795   .0126835   -14.89   0.000    -.2136541   -.1639358
  ooccmly_11 |  -.3463718     .01012   -34.23   0.000    -.3662067   -.3265369
  ooccmly_12 |   -.302849   .0225604   -13.42   0.000    -.3470665   -.2586315
  ooccmly_13 |  -.3526759   .0154144   -22.88   0.000    -.3828875   -.3224643
  ooccmly_14 |  -.3092843   .0443373    -6.98   0.000    -.3961839   -.2223847
nindmlynew_1 |  -.2513121   .0238948   -10.52   0.000    -.2981451    -.204479
nindmlynew_2 |   .0900007   .0306879     2.93   0.003     .0298535     .150148
nindmlynew_3 |  -.0810874   .0124313    -6.52   0.000    -.1054523   -.0567225
nindmlynew_5 |  -.2101947   .0057685   -36.44   0.000    -.2215008   -.1988886
nindmlynew_6 |   .0141884   .0085203     1.67   0.096    -.0025112    .0308879
nindmlynew_7 |  -.0139568   .0089123    -1.57   0.117    -.0314246    .0035109
nindmlynew_8 |  -.0330531   .0057118    -5.79   0.000    -.0442481   -.0218582
nindmlynew_9 |  -.0728624   .0059402   -12.27   0.000    -.0845049   -.0612198
nindmlyne~10 |  -.1908584   .0045299   -42.13   0.000    -.1997367     -.18198
nindmlyne~11 |  -.2623701   .0069148   -37.94   0.000    -.2759229   -.2488172
nindmlyne~12 |  -.2919474   .0079949   -36.52   0.000    -.3076172   -.2762777
     federal |   .1521221   .0065661    23.17   0.000     .1392528    .1649915
      statew |  -.0678457   .0046569   -14.57   0.000    -.0769732   -.0587183
       local |  -.0680781    .004139   -16.45   0.000    -.0761903   -.0599658
poccmlynew_2 |  -.1108645   .0044309   -25.02   0.000    -.1195488   -.1021801
poccmlynew_3 |  -.3986859   .0059861   -66.60   0.000    -.4104183   -.3869534
poccmlynew_4 |  -.2267945    .006298   -36.01   0.000    -.2391383   -.2144508
poccmlynew_5 |  -.2375576    .004314   -55.07   0.000    -.2460128   -.2291023
poccmlynew_6 |  -.3886386    .028187   -13.79   0.000    -.4438841    -.333393
poccmlynew_7 |  -.1579708   .0250486    -6.31   0.000    -.2070651   -.1088765
poccmlynew_8 |  -.0478123   .0201727    -2.37   0.018    -.0873501   -.0082744
poccmlynew_9 |  -.3726378   .0072099   -51.68   0.000    -.3867689   -.3585066
poccmlyne~10 |   -.383065    .010659   -35.94   0.000    -.4039563   -.3621738
    y_year_1 |  -.0925316   .0092102   -10.05   0.000    -.1105832     -.07448
    y_year_2 |  -.0892705   .0091803    -9.72   0.000    -.1072636   -.0712775
    y_year_3 |  -.0729211   .0088082    -8.28   0.000    -.0901848   -.0556574
    y_year_4 |  -.0591407   .0084221    -7.02   0.000    -.0756477   -.0426336
    y_year_6 |     .00089   .0045028     0.20   0.843    -.0079353    .0097153
    y_year_7 |   .0030802   .0045346     0.68   0.497    -.0058075    .0119678
    y_year_8 |  -.0133004   .0047792    -2.78   0.005    -.0226675   -.0039334
    y_year_9 |  -.0155843    .004595    -3.39   0.001    -.0245903   -.0065783
   y_year_10 |  -.0007667   .0045688    -0.17   0.867    -.0097213    .0081879
nonspousep~y |  -.0243937   .0143412    -1.70   0.089    -.0525019    .0037145
 spouseproxy |    .022672   .0031272     7.25   0.000     .0165428    .0288012
       _cons |   1.710902   .0155828   109.79   0.000     1.680361    1.741444
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .0994385   .0070319    14.14   0.000     .0856561    .1132208
nonspousep~y |  -.6383277   .0083799   -76.17   0.000     -.654752   -.6219034
 spouseproxy |  -.0744283   .0081467    -9.14   0.000    -.0903956    -.058461
        elem |   .0675595   .0211889     3.19   0.001     .0260301    .1090889
       ed9th |    .077171   .0306854     2.51   0.012     .0170288    .1373132
      ed10th |   .0338714    .026543     1.28   0.202    -.0181519    .0858946
      ed11th |   .0737731   .0233841     3.15   0.002     .0279411     .119605
   ed12nodip |  -.0004481   .0298635    -0.02   0.988    -.0589794    .0580832
  edsomecoll |   .0470618   .0088236     5.33   0.000      .029768    .0643557
     edassoc |    .045415   .0107864     4.21   0.000     .0242742    .0665559
        edBA |   .0340978   .0095451     3.57   0.000     .0153897    .0528059
        edMA |   .0462075   .0136863     3.38   0.001     .0193829    .0730322
       edPro |  -.0172081   .0284378    -0.61   0.545    -.0729451    .0385289
       edPhd |   .0198599   .0327746     0.61   0.545    -.0443772     .084097
         exp |   .0105247   .0051964     2.03   0.043       .00034    .0207095
        exp2 |  -.0016993   .0004367    -3.89   0.000    -.0025552   -.0008434
        exp3 |   .0000561   .0000141     3.99   0.000     .0000286    .0000837
        exp4 |  -6.05e-07   1.52e-07    -3.99   0.000    -9.03e-07   -3.08e-07
  marriedfem |  -.0824666   .0096799    -8.52   0.000    -.1014389   -.0634944
 prevmarrfem |   .0480666   .0100604     4.78   0.000     .0283485    .0677846
       black |  -.1775133   .0094003   -18.88   0.000    -.1959376    -.159089
       asian |  -.1631105   .0162607   -10.03   0.000    -.1949809   -.1312401
       other |  -.0047646   .0205742    -0.23   0.817    -.0450893    .0355601
    hispanic |  -.0086407   .0107148    -0.81   0.420    -.0296413    .0123598
    foreign4 |   .0714801   .0140129     5.10   0.000     .0440154    .0989447
    foreign5 |   .0909162    .014047     6.47   0.000     .0633847    .1184478
  mmetsize_2 |   .0582677   .0135052     4.31   0.000     .0317981    .0847373
  mmetsize_3 |   .0082058   .0123808     0.66   0.507    -.0160602    .0324718
  mmetsize_4 |  -.0691532   .0111809    -6.18   0.000    -.0910674    -.047239
  mmetsize_5 |    .002249   .0099866     0.23   0.822    -.0173244    .0218224
  mmetsize_6 |   -.033669   .0116448    -2.89   0.004    -.0564923   -.0108456
  mmetsize_7 |  -.1162594   .0104984   -11.07   0.000    -.1368358    -.095683
  d_divisn_2 |  -.0243492   .0134447    -1.81   0.070    -.0507003     .002002
  d_divisn_3 |  -.0133693   .0127527    -1.05   0.294    -.0383642    .0116257
  d_divisn_4 |   .1717011   .0138132    12.43   0.000     .1446278    .1987744
  d_divisn_5 |  -.0032829   .0120813    -0.27   0.786    -.0269619    .0203961
  d_divisn_6 |   .0439031   .0168286     2.61   0.009     .0109197    .0768864
  d_divisn_7 |   .1632592   .0147162    11.09   0.000      .134416    .1921023
  d_divisn_8 |   .2595815    .014277    18.18   0.000     .2315991    .2875638
  d_divisn_9 |   .1075035   .0131941     8.15   0.000     .0816434    .1333635
   iindmly_1 |   .0145558   .0833255     0.17   0.861    -.1487592    .1778708
   iindmly_2 |   .0069149   .1334669     0.05   0.959    -.2546755    .2685053
   iindmly_3 |  -.0394591   .0507525    -0.78   0.437    -.1389321    .0600139
   iindmly_6 |   .0338669   .0274548     1.23   0.217    -.0199435    .0876774
   iindmly_7 |   .0590761   .0350053     1.69   0.091     -.009533    .1276851
   iindmly_8 |  -.0295223   .0218888    -1.35   0.177    -.0724235    .0133789
   iindmly_9 |  -.0206387   .0223949    -0.92   0.357     -.064532    .0232546
  iindmly_10 |  -.0572197   .0278822    -2.05   0.040    -.1118678   -.0025716
  iindmly_11 |  -.0671047   .0328948    -2.04   0.041    -.1315772   -.0026321
  iindmly_12 |  -.1115114   .0477405    -2.34   0.020     -.205081   -.0179419
  iindmly_13 |  -.0331835   .0175859    -1.89   0.059    -.0676512    .0012843
   ooccmly_2 |  -.0150233   .0191806    -0.78   0.433    -.0526166    .0225701
   ooccmly_3 |   .0188155   .0287173     0.66   0.512    -.0374694    .0751005
   ooccmly_4 |  -.0595468   .0228226    -2.61   0.009    -.1042784   -.0148153
   ooccmly_5 |  -.0525351   .0166136    -3.16   0.002    -.0850972    -.019973
   ooccmly_6 |  -.0603813   .0664578    -0.91   0.364    -.1906363    .0698737
   ooccmly_7 |  -.0571039   .0607935    -0.94   0.348    -.1762569    .0620491
   ooccmly_8 |  -.0737003   .0208489    -3.53   0.000    -.1145634   -.0328372
   ooccmly_9 |   -.223212   .0966957    -2.31   0.021    -.4127321   -.0336919
  ooccmly_10 |    .064779   .0377572     1.72   0.086    -.0092237    .1387817
  ooccmly_11 |    .072741   .0295066     2.47   0.014     .0149092    .1305729
  ooccmly_12 |  -.0493771   .0641039    -0.77   0.441    -.1750185    .0762642
  ooccmly_13 |   .0281637    .044694     0.63   0.529    -.0594349    .1157623
  ooccmly_14 |  -.1535494    .134582    -1.14   0.254    -.4173253    .1102266
nindmlynew_1 |  -.0521005   .0684163    -0.76   0.446    -.1861939     .081993
nindmlynew_2 |    .107715   .0954515     1.13   0.259    -.0793664    .2947965
nindmlynew_3 |  -.0793567   .0341516    -2.32   0.020    -.1462926   -.0124209
nindmlynew_5 |   .0032031   .0162687     0.20   0.844     -.028683    .0350892
nindmlynew_6 |  -.0590892   .0232717    -2.54   0.011    -.1047009   -.0134775
nindmlynew_7 |   .0135438    .025388     0.53   0.594    -.0362158    .0633035
nindmlynew_8 |  -.0231631   .0160997    -1.44   0.150    -.0547179    .0083918
nindmlynew_9 |  -.0435164   .0164585    -2.64   0.008    -.0757745   -.0112582
nindmlyne~10 |  -.0051158   .0129569    -0.39   0.693    -.0305109    .0202793
nindmlyne~11 |  -.0391704    .018972    -2.06   0.039    -.0763549   -.0019859
nindmlyne~12 |  -.0624324   .0213858    -2.92   0.004    -.1043479    -.020517
     federal |   .1342931   .0179901     7.46   0.000     .0990333     .169553
      statew |   .0465551    .013297     3.50   0.000     .0204935    .0726167
       local |   .0878488   .0110765     7.93   0.000     .0661394    .1095583
poccmlynew_2 |  -.0225487   .0126251    -1.79   0.074    -.0472935    .0021961
poccmlynew_3 |  -.0804924   .0158624    -5.07   0.000    -.1115821   -.0494026
poccmlynew_4 |  -.0995088   .0165554    -6.01   0.000    -.1319568   -.0670608
poccmlynew_5 |  -.0303507   .0121388    -2.50   0.012    -.0541424    -.006559
poccmlynew_6 |   .0498344   .0817677     0.61   0.542    -.1104274    .2100962
poccmlynew_7 |  -.0157233   .0700835    -0.22   0.822    -.1530845    .1216378
poccmlynew_8 |   .0652732    .058315     1.12   0.263    -.0490222    .1795685
poccmlynew_9 |  -.0018398   .0201651    -0.09   0.927    -.0413626     .037683
poccmlyne~10 |  -.0082824    .029428    -0.28   0.778    -.0659603    .0493954
    y_year_1 |   .1580038   .0255322     6.19   0.000     .1079615    .2080461
    y_year_2 |   .1531936   .0254252     6.03   0.000     .1033611     .203026
    y_year_3 |   .0598802   .0252778     2.37   0.018     .0103366    .1094238
    y_year_4 |   .0365585   .0243259     1.50   0.133    -.0111193    .0842363
    y_year_6 |    .008533   .0124101     0.69   0.492    -.0157904    .0328565
    y_year_7 |   .0012874    .012535     0.10   0.918    -.0232808    .0258556
    y_year_8 |   .0825067   .0126894     6.50   0.000     .0576359    .1073774
    y_year_9 |   .0452811   .0125668     3.60   0.000     .0206506    .0699116
   y_year_10 |   .0418154   .0125046     3.34   0.001     .0173068    .0663239
       _cons |   1.113545   .0281581    39.55   0.000     1.058357    1.168734
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.0618316   .0505076    -1.22   0.221    -.1608247    .0371615
-------------+----------------------------------------------------------------
         rho |   -0.13023
       sigma |  .47479063
      lambda | -.06183164   .0505076
------------------------------------------------------------------------------

. 
. predict temp
(option xb assumed; fitted values)

. 
. replace selecthat = temp if _female
(246603 real changes made)

. 
. drop temp

. 
. 
. 
. /* Co-head Sample */
. 
. /*men*/
. 
. /*Ols*/
. 
. reg lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3 exp
> 4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-
> d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local pocc
> mlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if !_female&relhd<5, robust

Linear regression                                      Number of obs =  223939
                                                       F( 93,223845) = 1407.84
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.3880
                                                       Root MSE      =  .49205

------------------------------------------------------------------------------
             |               Robust
     lnwage2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        elem |  -.2066843   .0065486   -31.56   0.000    -.2195194   -.1938492
       ed9th |  -.1915867    .008965   -21.37   0.000    -.2091578   -.1740156
      ed10th |  -.1675305   .0085576   -19.58   0.000    -.1843033   -.1507578
      ed11th |  -.1448806   .0073174   -19.80   0.000    -.1592226   -.1305386
   ed12nodip |   -.114076   .0097765   -11.67   0.000    -.1332376   -.0949143
  edsomecoll |   .0855687   .0030084    28.44   0.000     .0796724     .091465
     edassoc |   .1337673   .0036425    36.72   0.000     .1266281    .1409065
        edBA |   .3102854   .0035614    87.12   0.000     .3033052    .3172656
        edMA |   .4452878   .0051311    86.78   0.000     .4352309    .4553446
       edPro |   .8208157   .0127605    64.32   0.000     .7958054     .845826
       edPhd |   .6745592   .0100819    66.91   0.000     .6547989    .6943195
         exp |   .0648393   .0024646    26.31   0.000     .0600089    .0696698
        exp2 |  -.0026517   .0001926   -13.77   0.000    -.0030291   -.0022742
        exp3 |   .0000487   5.93e-06     8.22   0.000     .0000371    .0000604
        exp4 |  -3.52e-07   6.22e-08    -5.67   0.000    -4.74e-07   -2.31e-07
 marriedmale |   .1382265   .0035375    39.07   0.000     .1312931    .1451598
prevmarrmale |   .0437111   .0047614     9.18   0.000     .0343788    .0530433
       black |  -.1499027   .0042236   -35.49   0.000    -.1581809   -.1416246
       asian |  -.0169286   .0067883    -2.49   0.013    -.0302336   -.0036237
       other |  -.0723085   .0078154    -9.25   0.000    -.0876264   -.0569905
    hispanic |   -.120605   .0039103   -30.84   0.000    -.1282691   -.1129409
    foreign4 |  -.0763153   .0054842   -13.92   0.000    -.0870642   -.0655663
    foreign5 |  -.2075249    .005115   -40.57   0.000      -.21755   -.1974997
  mmetsize_2 |   .0666592   .0041781    15.95   0.000     .0584701    .0748483
  mmetsize_3 |   .0880935   .0040058    21.99   0.000     .0802423    .0959447
  mmetsize_4 |   .1219021   .0037689    32.34   0.000     .1145151     .129289
  mmetsize_5 |   .1566056   .0033306    47.02   0.000     .1500776    .1631335
  mmetsize_6 |   .2284659   .0041093    55.60   0.000     .2204117    .2365202
  mmetsize_7 |   .2436521   .0036825    66.16   0.000     .2364344    .2508697
  d_divisn_2 |  -.0009194   .0049472    -0.19   0.853    -.0106158    .0087769
  d_divisn_3 |  -.0251629   .0044123    -5.70   0.000    -.0338108   -.0165149
  d_divisn_4 |  -.0837169   .0045562   -18.37   0.000     -.092647   -.0747869
  d_divisn_5 |  -.0558309   .0044251   -12.62   0.000    -.0645041   -.0471577
  d_divisn_6 |  -.0795741   .0059035   -13.48   0.000    -.0911448   -.0680035
  d_divisn_7 |  -.1045158   .0050783   -20.58   0.000    -.1144692   -.0945625
  d_divisn_8 |  -.0232533   .0046707    -4.98   0.000    -.0324078   -.0140989
  d_divisn_9 |   .0199048   .0046917     4.24   0.000     .0107092    .0291003
   iindmly_1 |  -.2591849   .0174219   -14.88   0.000    -.2933313   -.2250385
   iindmly_2 |   .1503746    .014147    10.63   0.000     .1226468    .1781024
   iindmly_3 |  -.0599311    .006887    -8.70   0.000    -.0734294   -.0464328
   iindmly_6 |    .055379   .0060432     9.16   0.000     .0435345    .0672235
   iindmly_7 |  -.0860276   .0083646   -10.28   0.000     -.102422   -.0696331
   iindmly_8 |   -.263261   .0070827   -37.17   0.000     -.277143    -.249379
   iindmly_9 |   .0258393   .0103387     2.50   0.012     .0055757    .0461028
  iindmly_10 |  -.1119429   .0082501   -13.57   0.000     -.128113   -.0957729
  iindmly_11 |  -.2262446   .0160962   -14.06   0.000    -.2577927   -.1946965
  iindmly_12 |  -.1821912   .0180807   -10.08   0.000    -.2176289   -.1467536
  iindmly_13 |  -.2088026   .0064784   -32.23   0.000    -.2215001   -.1961051
   ooccmly_2 |  -.0653229    .006928    -9.43   0.000    -.0789016   -.0517442
   ooccmly_3 |  -.0713133   .0100083    -7.13   0.000    -.0909293   -.0516973
   ooccmly_4 |  -.0843123   .0088492    -9.53   0.000    -.1016566    -.066968
   ooccmly_5 |   -.319663   .0083169   -38.44   0.000    -.3359639   -.3033621
   ooccmly_6 |  -.6438205   .2044196    -3.15   0.002    -1.044478   -.2431633
   ooccmly_7 |  -.2167136   .0100881   -21.48   0.000    -.2364861   -.1969412
   ooccmly_8 |   -.422966   .0095502   -44.29   0.000    -.4416842   -.4042479
   ooccmly_9 |  -.3690407   .0175018   -21.09   0.000    -.4033437   -.3347376
  ooccmly_10 |  -.1870897   .0061804   -30.27   0.000    -.1992032   -.1749762
  ooccmly_11 |   -.313356   .0079199   -39.57   0.000    -.3288788   -.2978333
  ooccmly_12 |   -.335712   .0081064   -41.41   0.000    -.3516003   -.3198237
  ooccmly_13 |  -.4105158   .0104916   -39.13   0.000    -.4310791   -.3899526
  ooccmly_14 |  -.5540063   .0137843   -40.19   0.000    -.5810233   -.5269894
nindmlynew_1 |  -.3059755    .017544   -17.44   0.000    -.3403613   -.2715897
nindmlynew_2 |   .1833335   .0105514    17.38   0.000     .1626531     .204014
nindmlynew_3 |  -.0754263   .0061383   -12.29   0.000    -.0874571   -.0633954
nindmlynew_5 |  -.1637876   .0048663   -33.66   0.000    -.1733254   -.1542499
nindmlynew_6 |   .0489965   .0051113     9.59   0.000     .0389784    .0590145
nindmlynew_7 |  -.0043213   .0082425    -0.52   0.600    -.0204763    .0118337
nindmlynew_8 |   .0070375   .0070333     1.00   0.317    -.0067477    .0208227
nindmlynew_9 |  -.0413784    .005296    -7.81   0.000    -.0517584   -.0309984
nindmlyne~10 |  -.2419406   .0051779   -46.73   0.000    -.2520891    -.231792
nindmlyne~11 |  -.3222145   .0072158   -44.65   0.000    -.3363574   -.3080716
nindmlyne~12 |  -.3412454   .0078032   -43.73   0.000    -.3565394   -.3259514
     federal |    .072543   .0051789    14.01   0.000     .0623925    .0826936
      statew |  -.1003904   .0047627   -21.08   0.000    -.1097252   -.0910556
       local |  -.0456547   .0039892   -11.44   0.000    -.0534735   -.0378359
poccmlynew_2 |  -.0997036    .004709   -21.17   0.000    -.1089332    -.090474
poccmlynew_3 |  -.3234678   .0058455   -55.34   0.000    -.3349247   -.3120108
poccmlynew_4 |  -.1521724    .006641   -22.91   0.000    -.1651885   -.1391562
poccmlynew_5 |  -.3574641   .0063337   -56.44   0.000    -.3698779   -.3450502
poccmlynew_6 |  -.3728337    .019621   -19.00   0.000    -.4112902   -.3343771
poccmlynew_7 |  -.2352366   .0068529   -34.33   0.000     -.248668   -.2218052
poccmlynew_8 |  -.1865485   .0055471   -33.63   0.000    -.1974206   -.1756763
poccmlynew_9 |  -.3126219   .0055189   -56.65   0.000    -.3234387   -.3018051
poccmlyne~10 |  -.3680941   .0059324   -62.05   0.000    -.3797215   -.3564667
    y_year_1 |  -.0695962   .0079709    -8.73   0.000    -.0852189   -.0539735
    y_year_2 |  -.0513647   .0078588    -6.54   0.000    -.0667678   -.0359616
    y_year_3 |  -.0370656   .0080457    -4.61   0.000    -.0528351   -.0212962
    y_year_4 |  -.0280326    .007617    -3.68   0.000    -.0429618   -.0131034
    y_year_6 |  -.0053409   .0044444    -1.20   0.229    -.0140518    .0033701
    y_year_7 |   .0022104     .00445     0.50   0.619    -.0065115    .0109323
    y_year_8 |   -.003895   .0044572    -0.87   0.382    -.0126309    .0048409
    y_year_9 |  -.0079294   .0045926    -1.73   0.084    -.0169307    .0010718
   y_year_10 |   -.001818   .0044083    -0.41   0.680    -.0104582    .0068222
       _cons |   1.807077   .0121526   148.70   0.000     1.783258    1.830895
------------------------------------------------------------------------------

. 
. predict olshatcohead
(option xb assumed; fitted values)

. 
. 
. /* heckman two step with proxy in exclusions */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divis
> n_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local 
> poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if !_female&relhd<5, select(mis1or5 nonsp
> ouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp
> 2 exp3 exp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d
> _divisn_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew 
> local poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two

Heckman selection model -- two-step estimates   Number of obs      =    269093
(regression model with sample selection)        Censored obs       =     45154
                                                Uncensored obs     =    223939

                                                Wald chi2(93)      = 138299.48
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.2069448   .0064278   -32.20   0.000    -.2195432   -.1943465
       ed9th |  -.1937507   .0090129   -21.50   0.000    -.2114156   -.1760858
      ed10th |  -.1677358   .0086168   -19.47   0.000    -.1846245   -.1508472
      ed11th |  -.1444852   .0076593   -18.86   0.000    -.1594972   -.1294732
   ed12nodip |  -.1127233   .0100584   -11.21   0.000    -.1324374   -.0930092
  edsomecoll |   .0840822   .0032269    26.06   0.000     .0777577    .0904067
     edassoc |   .1326806   .0039919    33.24   0.000     .1248566    .1405047
        edBA |    .310355   .0034807    89.17   0.000      .303533     .317177
        edMA |   .4456486   .0048454    91.97   0.000     .4361518    .4551454
       edPro |   .8288319   .0086581    95.73   0.000     .8118623    .8458015
       edPhd |   .6767952    .008511    79.52   0.000     .6601139    .6934764
         exp |   .0634086   .0023664    26.80   0.000     .0587706    .0680466
        exp2 |  -.0025303   .0001857   -13.63   0.000    -.0028943   -.0021663
        exp3 |   .0000456   5.73e-06     7.96   0.000     .0000343    .0000568
        exp4 |  -3.24e-07   6.02e-08    -5.39   0.000    -4.42e-07   -2.06e-07
 marriedmale |   .1387613    .003525    39.37   0.000     .1318526    .1456701
prevmarrmale |   .0407741    .004754     8.58   0.000     .0314565    .0500917
       black |  -.1436442   .0043254   -33.21   0.000    -.1521218   -.1351666
       asian |  -.0122724   .0063054    -1.95   0.052    -.0246309     .000086
       other |  -.0722602   .0077431    -9.33   0.000    -.0874364    -.057084
    hispanic |  -.1211236   .0038519   -31.45   0.000    -.1286732    -.113574
    foreign4 |  -.0766876   .0051354   -14.93   0.000    -.0867529   -.0666224
    foreign5 |  -.2075363   .0046529   -44.60   0.000    -.2166558   -.1984167
  mmetsize_2 |   .0644899   .0044611    14.46   0.000     .0557463    .0732335
  mmetsize_3 |   .0881206   .0041864    21.05   0.000     .0799153    .0963259
  mmetsize_4 |   .1237035   .0039136    31.61   0.000     .1160329    .1313741
  mmetsize_5 |   .1574276   .0034131    46.12   0.000      .150738    .1641172
  mmetsize_6 |   .2304846   .0040531    56.87   0.000     .2225407    .2384285
  mmetsize_7 |   .2489285   .0038381    64.86   0.000     .2414059    .2564511
  d_divisn_2 |   .0007696   .0049646     0.16   0.877    -.0089608       .0105
  d_divisn_3 |  -.0244797   .0045545    -5.37   0.000    -.0334064   -.0155531
  d_divisn_4 |  -.0907798   .0048086   -18.88   0.000    -.1002044   -.0813552
  d_divisn_5 |  -.0551384   .0044154   -12.49   0.000    -.0637925   -.0464844
  d_divisn_6 |  -.0799417    .006002   -13.32   0.000    -.0917053    -.068178
  d_divisn_7 |  -.1108773   .0051591   -21.49   0.000    -.1209889   -.1007657
  d_divisn_8 |  -.0327613   .0049241    -6.65   0.000    -.0424125   -.0231102
  d_divisn_9 |   .0148164   .0046926     3.16   0.002     .0056191    .0240137
   iindmly_1 |  -.2546244   .0204113   -12.47   0.000    -.2946299   -.2146188
   iindmly_2 |    .153464    .016834     9.12   0.000       .12047    .1864581
   iindmly_3 |   -.056053   .0073939    -7.58   0.000    -.0705448   -.0415613
   iindmly_6 |   .0554349   .0068089     8.14   0.000     .0420897    .0687801
   iindmly_7 |    -.08758   .0089388    -9.80   0.000    -.1050998   -.0700603
   iindmly_8 |  -.2636724   .0072225   -36.51   0.000    -.2778282   -.2495165
   iindmly_9 |   .0275735   .0091571     3.01   0.003      .009626    .0455211
  iindmly_10 |  -.1090397   .0079055   -13.79   0.000    -.1245342   -.0935452
  iindmly_11 |  -.2231135   .0159326   -14.00   0.000    -.2543409   -.1918861
  iindmly_12 |  -.1815616    .016346   -11.11   0.000    -.2135993    -.149524
  iindmly_13 |  -.2098943   .0065646   -31.97   0.000    -.2227607   -.1970278
   ooccmly_2 |  -.0666068   .0068039    -9.79   0.000    -.0799421   -.0532714
   ooccmly_3 |  -.0724757   .0108578    -6.68   0.000    -.0937566   -.0511949
   ooccmly_4 |  -.0817038   .0079733   -10.25   0.000    -.0973313   -.0660763
   ooccmly_5 |  -.3203594   .0091132   -35.15   0.000    -.3382209    -.302498
   ooccmly_6 |  -.5958924   .1433618    -4.16   0.000    -.8768763   -.3149085
   ooccmly_7 |  -.2153863   .0112622   -19.12   0.000    -.2374598   -.1933128
   ooccmly_8 |  -.4194212   .0096095   -43.65   0.000    -.4382555   -.4005869
   ooccmly_9 |  -.3699101   .0200868   -18.42   0.000    -.4092795   -.3305406
  ooccmly_10 |  -.1885219   .0064306   -29.32   0.000    -.2011256   -.1759181
  ooccmly_11 |  -.3168784   .0086281   -36.73   0.000    -.3337891   -.2999677
  ooccmly_12 |  -.3371625   .0085765   -39.31   0.000    -.3539722   -.3203529
  ooccmly_13 |  -.4105781   .0101362   -40.51   0.000    -.4304447   -.3907114
  ooccmly_14 |  -.5502294   .0163235   -33.71   0.000    -.5822228   -.5182361
nindmlynew_1 |  -.3034687   .0165281   -18.36   0.000    -.3358632   -.2710743
nindmlynew_2 |   .1820485   .0118121    15.41   0.000     .1588973    .2051998
nindmlynew_3 |   -.072445   .0064128   -11.30   0.000    -.0850139   -.0598762
nindmlynew_5 |  -.1643312   .0050343   -32.64   0.000    -.1741983   -.1544641
nindmlynew_6 |   .0512391   .0055768     9.19   0.000     .0403088    .0621693
nindmlynew_7 |  -.0054548   .0081552    -0.67   0.504    -.0214388    .0105292
nindmlynew_8 |   .0087214    .006192     1.41   0.159    -.0034148    .0208576
nindmlynew_9 |  -.0402535   .0052208    -7.71   0.000    -.0504861    -.030021
nindmlyne~10 |  -.2417257   .0051539   -46.90   0.000    -.2518272   -.2316243
nindmlyne~11 |  -.3202486   .0069491   -46.08   0.000    -.3338686   -.3066286
nindmlyne~12 |  -.3365794   .0075368   -44.66   0.000    -.3513513   -.3218075
     federal |   .0685077   .0056381    12.15   0.000     .0574572    .0795582
      statew |  -.1045319   .0053896   -19.40   0.000    -.1150954   -.0939685
       local |   -.049285   .0044997   -10.95   0.000    -.0581044   -.0404657
poccmlynew_2 |  -.1014316   .0045674   -22.21   0.000    -.1103835   -.0924797
poccmlynew_3 |  -.3219665   .0057636   -55.86   0.000    -.3332629   -.3106701
poccmlynew_4 |  -.1479987   .0059098   -25.04   0.000    -.1595816   -.1364157
poccmlynew_5 |  -.3583943   .0063683   -56.28   0.000    -.3708759   -.3459126
poccmlynew_6 |  -.3716911   .0193542   -19.20   0.000    -.4096246   -.3337575
poccmlynew_7 |  -.2338979   .0068622   -34.09   0.000    -.2473476   -.2204483
poccmlynew_8 |  -.1874728   .0059605   -31.45   0.000    -.1991551   -.1757905
poccmlynew_9 |  -.3135777   .0057021   -54.99   0.000    -.3247536   -.3024018
poccmlyne~10 |  -.3670275   .0059393   -61.80   0.000    -.3786682   -.3553868
    y_year_1 |  -.0737862   .0080848    -9.13   0.000    -.0896322   -.0579402
    y_year_2 |  -.0561924   .0080813    -6.95   0.000    -.0720315   -.0403532
    y_year_3 |   -.037986   .0081074    -4.69   0.000    -.0538761   -.0220958
    y_year_4 |  -.0290926   .0076975    -3.78   0.000    -.0441795   -.0140058
    y_year_6 |  -.0060494   .0044531    -1.36   0.174    -.0147773    .0026786
    y_year_7 |   .0018759   .0044873     0.42   0.676    -.0069191    .0106709
    y_year_8 |  -.0077119   .0044956    -1.72   0.086    -.0165232    .0010993
    y_year_9 |  -.0106624   .0044872    -2.38   0.017    -.0194573   -.0018676
   y_year_10 |  -.0041838   .0044959    -0.93   0.352    -.0129956    .0046279
       _cons |   1.841142   .0130123   141.49   0.000     1.815638    1.866646
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .0919767   .0068492    13.43   0.000     .0785526    .1054008
nonspousep~y |  -.6427949   .0115159   -55.82   0.000    -.6653656   -.6202243
 spouseproxy |   -.146403   .0068642   -21.33   0.000    -.1598565   -.1329495
        elem |    .048217   .0175973     2.74   0.006     .0137268    .0827071
       ed9th |   .0754294   .0254508     2.96   0.003     .0255469     .125312
      ed10th |   .0260626   .0235857     1.11   0.269    -.0201646    .0722897
      ed11th |   .0011798   .0209916     0.06   0.955     -.039963    .0423227
   ed12nodip |  -.0266198   .0271034    -0.98   0.326    -.0797415     .026502
  edsomecoll |   .0266286   .0090445     2.94   0.003     .0089016    .0443556
     edassoc |   .0142262   .0112765     1.26   0.207    -.0078753    .0363278
        edBA |  -.0171988   .0096645    -1.78   0.075    -.0361409    .0017433
        edMA |  -.0289427   .0134422    -2.15   0.031    -.0552889   -.0025965
       edPro |  -.2053034   .0224175    -9.16   0.000    -.2492409    -.161366
       edPhd |  -.0739065    .023543    -3.14   0.002    -.1200499   -.0277631
         exp |   .0291654   .0066361     4.39   0.000      .016159    .0421718
        exp2 |  -.0026924   .0005142    -5.24   0.000    -.0037003   -.0016846
        exp3 |   .0000721   .0000157     4.59   0.000     .0000413    .0001029
        exp4 |  -6.55e-07   1.64e-07    -4.00   0.000    -9.76e-07   -3.34e-07
 marriedmale |  -.0221115   .0109453    -2.02   0.043    -.0435638   -.0006592
prevmarrmale |   .0501936   .0135325     3.71   0.000     .0236704    .0767168
       black |  -.1485629   .0109043   -13.62   0.000    -.1699349    -.127191
       asian |  -.1124333   .0166655    -6.75   0.000     -.145097   -.0797695
       other |   .0017301   .0224601     0.08   0.939    -.0422908     .045751
    hispanic |   .0191214   .0109033     1.75   0.079    -.0022487    .0404915
    foreign4 |   .0184655   .0138166     1.34   0.181    -.0086145    .0455456
    foreign5 |   .0131884   .0128062     1.03   0.303    -.0119113    .0382881
  mmetsize_2 |   .0595883   .0131481     4.53   0.000     .0338185    .0853582
  mmetsize_3 |  -.0003451   .0119606    -0.03   0.977    -.0237873    .0230972
  mmetsize_4 |  -.0503461   .0110212    -4.57   0.000    -.0719473   -.0287449
  mmetsize_5 |  -.0238759   .0096814    -2.47   0.014     -.042851   -.0049008
  mmetsize_6 |  -.0539838    .011343    -4.76   0.000    -.0762156   -.0317519
  mmetsize_7 |  -.1279575    .010227   -12.51   0.000     -.148002    -.107913
  d_divisn_2 |  -.0340682   .0130442    -2.61   0.009    -.0596344   -.0085019
  d_divisn_3 |  -.0168172    .012179    -1.38   0.167    -.0406876    .0070532
  d_divisn_4 |   .1770001   .0133352    13.27   0.000     .1508635    .2031366
  d_divisn_5 |  -.0197148   .0118085    -1.67   0.095     -.042859    .0034294
  d_divisn_6 |   .0067918   .0163248     0.42   0.677    -.0252042    .0387877
  d_divisn_7 |   .1633617   .0142777    11.44   0.000     .1353779    .1913454
  d_divisn_8 |   .2573428   .0135586    18.98   0.000     .2307684    .2839173
  d_divisn_9 |   .1267192   .0127391     9.95   0.000     .1017509    .1516874
   iindmly_1 |  -.0960722    .058992    -1.63   0.103    -.2116943    .0195499
   iindmly_2 |  -.0856877   .0490975    -1.75   0.081    -.1819171    .0105416
   iindmly_3 |  -.0929598    .020591    -4.51   0.000    -.1333174   -.0526022
   iindmly_6 |   .0006563   .0194194     0.03   0.973    -.0374051    .0387177
   iindmly_7 |   .0394634   .0256177     1.54   0.123    -.0107465    .0896732
   iindmly_8 |   .0195876   .0204791     0.96   0.339    -.0205508    .0597259
   iindmly_9 |  -.0476443   .0249676    -1.91   0.056    -.0965799    .0012914
  iindmly_10 |  -.0740317   .0218148    -3.39   0.001    -.1167879   -.0312755
  iindmly_11 |  -.0726104   .0435029    -1.67   0.095    -.1578745    .0126536
  iindmly_12 |  -.0150872   .0460806    -0.33   0.743    -.1054034    .0752291
  iindmly_13 |   .0307445   .0187515     1.64   0.101    -.0060078    .0674968
   ooccmly_2 |   .0300893   .0193027     1.56   0.119    -.0077432    .0679219
   ooccmly_3 |   .0299874   .0312584     0.96   0.337     -.031278    .0912528
   ooccmly_4 |  -.0680729   .0220307    -3.09   0.002    -.1112522   -.0248935
   ooccmly_5 |   .0125013   .0258417     0.48   0.629    -.0381475      .06315
   ooccmly_6 |  -.7889004   .2682667    -2.94   0.003    -1.314693   -.2631074
   ooccmly_7 |  -.0262416   .0321005    -0.82   0.414    -.0891574    .0366742
   ooccmly_8 |  -.0771788   .0261454    -2.95   0.003    -.1284228   -.0259348
   ooccmly_9 |   .0210301   .0586111     0.36   0.720    -.0938455    .1359057
  ooccmly_10 |   .0482553   .0181738     2.66   0.008     .0126354    .0838752
  ooccmly_11 |   .1025733   .0248601     4.13   0.000     .0538483    .1512982
  ooccmly_12 |   .0492777   .0243334     2.03   0.043      .001585    .0969703
  ooccmly_13 |   .0157383    .028509     0.55   0.581    -.0401384     .071615
  ooccmly_14 |  -.0803523   .0487163    -1.65   0.099    -.1758345      .01513
nindmlynew_1 |   -.067352   .0461402    -1.46   0.144    -.1577852    .0230811
nindmlynew_2 |    .054883   .0352152     1.56   0.119    -.0141375    .1239035
nindmlynew_3 |  -.0673785   .0176245    -3.82   0.000    -.1019218   -.0328352
nindmlynew_5 |   .0161753   .0140119     1.15   0.248    -.0112876    .0436382
nindmlynew_6 |  -.0494796   .0152958    -3.23   0.001    -.0794589   -.0195003
nindmlynew_7 |   .0241865    .023158     1.04   0.296    -.0212023    .0695753
nindmlynew_8 |  -.0450193   .0168594    -2.67   0.008    -.0780631   -.0119755
nindmlynew_9 |  -.0288356   .0144745    -1.99   0.046    -.0572052   -.0004661
nindmlyne~10 |  -.0038532    .014512    -0.27   0.791    -.0322963    .0245899
nindmlyne~11 |  -.0449701   .0191177    -2.35   0.019    -.0824401      -.0075
nindmlyne~12 |  -.1128332   .0200019    -5.64   0.000    -.1520361   -.0736302
     federal |    .093978     .01605     5.86   0.000     .0625207    .1254354
      statew |   .0972468   .0155859     6.24   0.000      .066699    .1277945
       local |   .0844547   .0127819     6.61   0.000     .0594025    .1095068
poccmlynew_2 |   .0415055   .0127568     3.25   0.001     .0165026    .0665084
poccmlynew_3 |  -.0265821   .0158949    -1.67   0.094    -.0577355    .0045712
poccmlynew_4 |  -.1007886    .015861    -6.35   0.000    -.1318756   -.0697016
poccmlynew_5 |    .021748   .0177714     1.22   0.221    -.0130832    .0565792
poccmlynew_6 |  -.0184259   .0539942    -0.34   0.733    -.1242527    .0874008
poccmlynew_7 |  -.0278249   .0188531    -1.48   0.140    -.0647763    .0091265
poccmlynew_8 |   .0298099   .0166181     1.79   0.073     -.002761    .0623809
poccmlynew_9 |   .0330129   .0158932     2.08   0.038     .0018627    .0641631
poccmlyne~10 |  -.0155103    .016292    -0.95   0.341     -.047442    .0164214
    y_year_1 |   .1056435   .0226388     4.67   0.000     .0612723    .1500146
    y_year_2 |   .1184101   .0226105     5.24   0.000     .0740943    .1627258
    y_year_3 |   .0185749   .0224577     0.83   0.408    -.0254414    .0625913
    y_year_4 |   .0258039   .0213915     1.21   0.228    -.0161226    .0677304
    y_year_6 |   .0161454   .0120892     1.34   0.182    -.0075489    .0398397
    y_year_7 |   .0025529   .0122024     0.21   0.834    -.0213633    .0264691
    y_year_8 |   .0879304   .0123785     7.10   0.000     .0636689    .1121918
    y_year_9 |    .063905   .0123184     5.19   0.000     .0397613    .0880487
   y_year_10 |   .0468984   .0123227     3.81   0.000     .0227464    .0710505
       _cons |   1.065943   .0336298    31.70   0.000     1.000029    1.131856
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.1076154   .0168876    -6.37   0.000    -.1407144   -.0745163
-------------+----------------------------------------------------------------
         rho |   -0.21688
       sigma |  .49619912
      lambda | -.10761537   .0168876
------------------------------------------------------------------------------

. 
. 
. /* heckman two step with proxy in main equation */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedmale prevmarrmale black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divis
> n_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local 
> poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 nonspouseproxy spouseproxy if !_female&re
> lhd<5, select(mis1or5 nonspouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc ed
> BA edMA edPro edPhd exp exp2 exp3 exp4 marriedmale prevmarrmale black asian other hispanic foreign4 forei
> gn5 mmetsize_2-mmetsize_7 d_divisn_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-ni
> ndmlynew_12 federal statew local poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two 

Heckman selection model -- two-step estimates   Number of obs      =    269093
(regression model with sample selection)        Censored obs       =     45154
                                                Uncensored obs     =    223939

                                                Wald chi2(95)      = 138814.77
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.2064913   .0065037   -31.75   0.000    -.2192383   -.1937443
       ed9th |  -.1932761   .0091343   -21.16   0.000     -.211179   -.1753732
      ed10th |  -.1676178   .0086191   -19.45   0.000    -.1845109   -.1507248
      ed11th |  -.1444663   .0076452   -18.90   0.000    -.1594507    -.129482
   ed12nodip |  -.1128541   .0100542   -11.22   0.000      -.13256   -.0931483
  edsomecoll |   .0843321   .0032633    25.84   0.000     .0779361    .0907281
     edassoc |   .1328523   .0039922    33.28   0.000     .1250279    .1406768
        edBA |   .3103152    .003495    88.79   0.000     .3034651    .3171653
        edMA |   .4455448   .0048718    91.45   0.000     .4359962    .4550934
       edPro |    .827379   .0096828    85.45   0.000     .8084011    .8463569
       edPhd |   .6762756   .0086312    78.35   0.000     .6593588    .6931925
         exp |   .0635312   .0024276    26.17   0.000     .0587732    .0682892
        exp2 |  -.0025446   .0001924   -13.23   0.000    -.0029217   -.0021676
        exp3 |    .000046   5.88e-06     7.82   0.000     .0000345    .0000575
        exp4 |  -3.28e-07   6.13e-08    -5.35   0.000    -4.49e-07   -2.08e-07
 marriedmale |   .1359759   .0038428    35.38   0.000     .1284441    .1435077
prevmarrmale |   .0410316    .004834     8.49   0.000     .0315571     .050506
       black |  -.1446561   .0054282   -26.65   0.000    -.1552951   -.1340171
       asian |  -.0126914   .0067398    -1.88   0.060    -.0259012    .0005184
       other |  -.0722168   .0077278    -9.35   0.000    -.0873631   -.0570705
    hispanic |  -.1208344   .0038712   -31.21   0.000    -.1284219   -.1132469
    foreign4 |  -.0762571   .0051417   -14.83   0.000    -.0863346   -.0661797
    foreign5 |  -.2071926   .0046575   -44.49   0.000    -.2163211   -.1980641
  mmetsize_2 |   .0649296   .0045865    14.16   0.000     .0559403    .0739189
  mmetsize_3 |   .0881804   .0041784    21.10   0.000     .0799908    .0963699
  mmetsize_4 |   .1235087    .004035    30.61   0.000     .1156003    .1314171
  mmetsize_5 |   .1573679   .0034385    45.77   0.000     .1506286    .1641071
  mmetsize_6 |    .230225   .0041957    54.87   0.000     .2220017    .2384484
  mmetsize_7 |   .2481233   .0047326    52.43   0.000     .2388476    .2573989
  d_divisn_2 |    .000482   .0050275     0.10   0.924    -.0093718    .0103358
  d_divisn_3 |  -.0246425   .0045631    -5.40   0.000    -.0335859    -.015699
  d_divisn_4 |  -.0896299    .005912   -15.16   0.000    -.1012172   -.0780427
  d_divisn_5 |  -.0552673    .004432   -12.47   0.000    -.0639538   -.0465808
  d_divisn_6 |  -.0799058   .0059929   -13.33   0.000    -.0916517   -.0681598
  d_divisn_7 |  -.1098418   .0061116   -17.97   0.000    -.1218202   -.0978633
  d_divisn_8 |   -.031171   .0069381    -4.49   0.000    -.0447694   -.0175725
  d_divisn_9 |   .0157041   .0053751     2.92   0.003     .0051691    .0262391
   iindmly_1 |  -.2553237   .0204592   -12.48   0.000     -.295423   -.2152245
   iindmly_2 |   .1527333   .0168782     9.05   0.000     .1196527     .185814
   iindmly_3 |  -.0567308   .0076037    -7.46   0.000    -.0716338   -.0418278
   iindmly_6 |   .0553878   .0067959     8.15   0.000      .042068    .0687075
   iindmly_7 |  -.0873774   .0089543    -9.76   0.000    -.1049276   -.0698273
   iindmly_8 |  -.2635404   .0072187   -36.51   0.000    -.2776887    -.249392
   iindmly_9 |   .0272601   .0091956     2.96   0.003     .0092371     .045283
  iindmly_10 |  -.1095712   .0080299   -13.65   0.000    -.1253095    -.093833
  iindmly_11 |  -.2235477   .0159728   -14.00   0.000    -.2548538   -.1922415
  iindmly_12 |  -.1816684   .0163173   -11.13   0.000    -.2136496   -.1496872
  iindmly_13 |  -.2097154   .0065773   -31.88   0.000    -.2226067   -.1968241
   ooccmly_2 |  -.0663316   .0068171    -9.73   0.000    -.0796929   -.0529703
   ooccmly_3 |  -.0722192   .0108508    -6.66   0.000    -.0934864   -.0509521
   ooccmly_4 |  -.0820902   .0080791   -10.16   0.000     -.097925   -.0662554
   ooccmly_5 |  -.3201899   .0090989   -35.19   0.000    -.3380234   -.3023564
   ooccmly_6 |  -.6035182   .1451762    -4.16   0.000    -.8880584    -.318978
   ooccmly_7 |  -.2155209   .0112558   -19.15   0.000    -.2375819     -.19346
   ooccmly_8 |  -.4198043   .0097215   -43.18   0.000    -.4388581   -.4007506
   ooccmly_9 |  -.3697839   .0200523   -18.44   0.000    -.4090856   -.3304822
  ooccmly_10 |  -.1881757   .0064904   -28.99   0.000    -.2008966   -.1754548
  ooccmly_11 |  -.3162048   .0088436   -35.76   0.000    -.3335379   -.2988716
  ooccmly_12 |  -.3368558   .0086212   -39.07   0.000     -.353753   -.3199586
  ooccmly_13 |  -.4104031   .0101219   -40.55   0.000    -.4302415   -.3905646
  ooccmly_14 |  -.5509909   .0163723   -33.65   0.000    -.5830799   -.5189018
nindmlynew_1 |  -.3039745   .0165539   -18.36   0.000    -.3364196   -.2715294
nindmlynew_2 |     .18215   .0118427    15.38   0.000     .1589387    .2053613
nindmlynew_3 |   -.072959   .0065521   -11.14   0.000    -.0858008   -.0601172
nindmlynew_5 |  -.1642519   .0050355   -32.62   0.000    -.1741212   -.1543825
nindmlynew_6 |   .0508401     .00566     8.98   0.000     .0397468    .0619334
nindmlynew_7 |  -.0053179    .008152    -0.65   0.514    -.0212956    .0106598
nindmlynew_8 |   .0084388   .0062573     1.35   0.177    -.0038254    .0207029
nindmlynew_9 |  -.0404581   .0052454    -7.71   0.000    -.0507388   -.0301774
nindmlyne~10 |   -.241763   .0051446   -46.99   0.000    -.2518463   -.2316798
nindmlyne~11 |  -.3205217    .006996   -45.81   0.000    -.3342336   -.3068097
nindmlyne~12 |  -.3373017   .0079013   -42.69   0.000    -.3527879   -.3218154
     federal |   .0692362   .0059368    11.66   0.000     .0576004    .0808721
      statew |  -.1038078   .0057029   -18.20   0.000    -.1149853   -.0926304
       local |  -.0485957   .0047932   -10.14   0.000    -.0579901   -.0392012
poccmlynew_2 |  -.1011136   .0046322   -21.83   0.000    -.1101925   -.0920347
poccmlynew_3 |   -.322088   .0057837   -55.69   0.000    -.3334238   -.3107521
poccmlynew_4 |  -.1486673   .0062642   -23.73   0.000    -.1609448   -.1363897
poccmlynew_5 |  -.3581762   .0063721   -56.21   0.000    -.3706652   -.3456872
poccmlynew_6 |   -.371909   .0193212   -19.25   0.000     -.409778   -.3340401
poccmlynew_7 |  -.2340847    .006872   -34.06   0.000    -.2475536   -.2206158
poccmlynew_8 |  -.1872797   .0059803   -31.32   0.000     -.199001   -.1755585
poccmlynew_9 |  -.3133109   .0057311   -54.67   0.000    -.3245436   -.3020782
poccmlyne~10 |  -.3671715   .0059381   -61.83   0.000      -.37881   -.3555331
    y_year_1 |  -.0731016   .0083417    -8.76   0.000     -.089451   -.0567521
    y_year_2 |  -.0554105   .0084376    -6.57   0.000     -.071948    -.038873
    y_year_3 |  -.0378636   .0081011    -4.67   0.000    -.0537414   -.0219858
    y_year_4 |  -.0288995   .0077018    -3.75   0.000    -.0439946   -.0138043
    y_year_6 |  -.0059275   .0044581    -1.33   0.184    -.0146651    .0028102
    y_year_7 |   .0019194   .0044794     0.43   0.668      -.00686    .0106989
    y_year_8 |  -.0071032   .0048386    -1.47   0.142    -.0165867    .0023803
    y_year_9 |  -.0101276   .0046724    -2.17   0.030    -.0192854   -.0009698
   y_year_10 |  -.0037839   .0045923    -0.82   0.410    -.0127845    .0052168
nonspousep~y |  -.0079781   .0168314    -0.47   0.635    -.0409671    .0250108
 spouseproxy |   .0029564   .0039217     0.75   0.451      -.00473    .0106429
       _cons |    1.83692   .0191721    95.81   0.000     1.799343    1.874496
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .0919767   .0068492    13.43   0.000     .0785526    .1054008
nonspousep~y |  -.6427949   .0115159   -55.82   0.000    -.6653656   -.6202243
 spouseproxy |   -.146403   .0068642   -21.33   0.000    -.1598565   -.1329495
        elem |    .048217   .0175973     2.74   0.006     .0137268    .0827071
       ed9th |   .0754294   .0254508     2.96   0.003     .0255469     .125312
      ed10th |   .0260626   .0235857     1.11   0.269    -.0201646    .0722897
      ed11th |   .0011798   .0209916     0.06   0.955     -.039963    .0423227
   ed12nodip |  -.0266198   .0271034    -0.98   0.326    -.0797415     .026502
  edsomecoll |   .0266286   .0090445     2.94   0.003     .0089016    .0443556
     edassoc |   .0142262   .0112765     1.26   0.207    -.0078753    .0363278
        edBA |  -.0171988   .0096645    -1.78   0.075    -.0361409    .0017433
        edMA |  -.0289427   .0134422    -2.15   0.031    -.0552889   -.0025965
       edPro |  -.2053034   .0224175    -9.16   0.000    -.2492409    -.161366
       edPhd |  -.0739065    .023543    -3.14   0.002    -.1200499   -.0277631
         exp |   .0291654   .0066361     4.39   0.000      .016159    .0421718
        exp2 |  -.0026924   .0005142    -5.24   0.000    -.0037003   -.0016846
        exp3 |   .0000721   .0000157     4.59   0.000     .0000413    .0001029
        exp4 |  -6.55e-07   1.64e-07    -4.00   0.000    -9.76e-07   -3.34e-07
 marriedmale |  -.0221115   .0109453    -2.02   0.043    -.0435638   -.0006592
prevmarrmale |   .0501936   .0135325     3.71   0.000     .0236704    .0767168
       black |  -.1485629   .0109043   -13.62   0.000    -.1699349    -.127191
       asian |  -.1124333   .0166655    -6.75   0.000     -.145097   -.0797695
       other |   .0017301   .0224601     0.08   0.939    -.0422908     .045751
    hispanic |   .0191214   .0109033     1.75   0.079    -.0022487    .0404915
    foreign4 |   .0184655   .0138166     1.34   0.181    -.0086145    .0455456
    foreign5 |   .0131884   .0128062     1.03   0.303    -.0119113    .0382881
  mmetsize_2 |   .0595883   .0131481     4.53   0.000     .0338185    .0853582
  mmetsize_3 |  -.0003451   .0119606    -0.03   0.977    -.0237873    .0230972
  mmetsize_4 |  -.0503461   .0110212    -4.57   0.000    -.0719473   -.0287449
  mmetsize_5 |  -.0238759   .0096814    -2.47   0.014     -.042851   -.0049008
  mmetsize_6 |  -.0539838    .011343    -4.76   0.000    -.0762156   -.0317519
  mmetsize_7 |  -.1279575    .010227   -12.51   0.000     -.148002    -.107913
  d_divisn_2 |  -.0340682   .0130442    -2.61   0.009    -.0596344   -.0085019
  d_divisn_3 |  -.0168172    .012179    -1.38   0.167    -.0406876    .0070532
  d_divisn_4 |   .1770001   .0133352    13.27   0.000     .1508635    .2031366
  d_divisn_5 |  -.0197148   .0118085    -1.67   0.095     -.042859    .0034294
  d_divisn_6 |   .0067918   .0163248     0.42   0.677    -.0252042    .0387877
  d_divisn_7 |   .1633617   .0142777    11.44   0.000     .1353779    .1913454
  d_divisn_8 |   .2573428   .0135586    18.98   0.000     .2307684    .2839173
  d_divisn_9 |   .1267192   .0127391     9.95   0.000     .1017509    .1516874
   iindmly_1 |  -.0960722    .058992    -1.63   0.103    -.2116943    .0195499
   iindmly_2 |  -.0856877   .0490975    -1.75   0.081    -.1819171    .0105416
   iindmly_3 |  -.0929598    .020591    -4.51   0.000    -.1333174   -.0526022
   iindmly_6 |   .0006563   .0194194     0.03   0.973    -.0374051    .0387177
   iindmly_7 |   .0394634   .0256177     1.54   0.123    -.0107465    .0896732
   iindmly_8 |   .0195876   .0204791     0.96   0.339    -.0205508    .0597259
   iindmly_9 |  -.0476443   .0249676    -1.91   0.056    -.0965799    .0012914
  iindmly_10 |  -.0740317   .0218148    -3.39   0.001    -.1167879   -.0312755
  iindmly_11 |  -.0726104   .0435029    -1.67   0.095    -.1578745    .0126536
  iindmly_12 |  -.0150872   .0460806    -0.33   0.743    -.1054034    .0752291
  iindmly_13 |   .0307445   .0187515     1.64   0.101    -.0060078    .0674968
   ooccmly_2 |   .0300893   .0193027     1.56   0.119    -.0077432    .0679219
   ooccmly_3 |   .0299874   .0312584     0.96   0.337     -.031278    .0912528
   ooccmly_4 |  -.0680729   .0220307    -3.09   0.002    -.1112522   -.0248935
   ooccmly_5 |   .0125013   .0258417     0.48   0.629    -.0381475      .06315
   ooccmly_6 |  -.7889004   .2682667    -2.94   0.003    -1.314693   -.2631074
   ooccmly_7 |  -.0262416   .0321005    -0.82   0.414    -.0891574    .0366742
   ooccmly_8 |  -.0771788   .0261454    -2.95   0.003    -.1284228   -.0259348
   ooccmly_9 |   .0210301   .0586111     0.36   0.720    -.0938455    .1359057
  ooccmly_10 |   .0482553   .0181738     2.66   0.008     .0126354    .0838752
  ooccmly_11 |   .1025733   .0248601     4.13   0.000     .0538483    .1512982
  ooccmly_12 |   .0492777   .0243334     2.03   0.043      .001585    .0969703
  ooccmly_13 |   .0157383    .028509     0.55   0.581    -.0401384     .071615
  ooccmly_14 |  -.0803523   .0487163    -1.65   0.099    -.1758345      .01513
nindmlynew_1 |   -.067352   .0461402    -1.46   0.144    -.1577852    .0230811
nindmlynew_2 |    .054883   .0352152     1.56   0.119    -.0141375    .1239035
nindmlynew_3 |  -.0673785   .0176245    -3.82   0.000    -.1019218   -.0328352
nindmlynew_5 |   .0161753   .0140119     1.15   0.248    -.0112876    .0436382
nindmlynew_6 |  -.0494796   .0152958    -3.23   0.001    -.0794589   -.0195003
nindmlynew_7 |   .0241865    .023158     1.04   0.296    -.0212023    .0695753
nindmlynew_8 |  -.0450193   .0168594    -2.67   0.008    -.0780631   -.0119755
nindmlynew_9 |  -.0288356   .0144745    -1.99   0.046    -.0572052   -.0004661
nindmlyne~10 |  -.0038532    .014512    -0.27   0.791    -.0322963    .0245899
nindmlyne~11 |  -.0449701   .0191177    -2.35   0.019    -.0824401      -.0075
nindmlyne~12 |  -.1128332   .0200019    -5.64   0.000    -.1520361   -.0736302
     federal |    .093978     .01605     5.86   0.000     .0625207    .1254354
      statew |   .0972468   .0155859     6.24   0.000      .066699    .1277945
       local |   .0844547   .0127819     6.61   0.000     .0594025    .1095068
poccmlynew_2 |   .0415055   .0127568     3.25   0.001     .0165026    .0665084
poccmlynew_3 |  -.0265821   .0158949    -1.67   0.094    -.0577355    .0045712
poccmlynew_4 |  -.1007886    .015861    -6.35   0.000    -.1318756   -.0697016
poccmlynew_5 |    .021748   .0177714     1.22   0.221    -.0130832    .0565792
poccmlynew_6 |  -.0184259   .0539942    -0.34   0.733    -.1242527    .0874008
poccmlynew_7 |  -.0278249   .0188531    -1.48   0.140    -.0647763    .0091265
poccmlynew_8 |   .0298099   .0166181     1.79   0.073     -.002761    .0623809
poccmlynew_9 |   .0330129   .0158932     2.08   0.038     .0018627    .0641631
poccmlyne~10 |  -.0155103    .016292    -0.95   0.341     -.047442    .0164214
    y_year_1 |   .1056435   .0226388     4.67   0.000     .0612723    .1500146
    y_year_2 |   .1184101   .0226105     5.24   0.000     .0740943    .1627258
    y_year_3 |   .0185749   .0224577     0.83   0.408    -.0254414    .0625913
    y_year_4 |   .0258039   .0213915     1.21   0.228    -.0161226    .0677304
    y_year_6 |   .0161454   .0120892     1.34   0.182    -.0075489    .0398397
    y_year_7 |   .0025529   .0122024     0.21   0.834    -.0213633    .0264691
    y_year_8 |   .0879304   .0123785     7.10   0.000     .0636689    .1121918
    y_year_9 |    .063905   .0123184     5.19   0.000     .0397613    .0880487
   y_year_10 |   .0468984   .0123227     3.81   0.000     .0227464    .0710505
       _cons |   1.065943   .0336298    31.70   0.000     1.000029    1.131856
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.0892802   .0581856    -1.53   0.125    -.2033218    .0247614
-------------+----------------------------------------------------------------
         rho |   -0.18042
       sigma |  .49485981
      lambda | -.08928021   .0581856
------------------------------------------------------------------------------

. 
. predict selecthatcohead
(option xb assumed; fitted values)

. 
. 
. /* women */
. 
. /*Ols*/
. 
. reg lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3 exp
> 4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_2-d_
> divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local poccml
> ynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if _female&relhd<5, robust

Linear regression                                      Number of obs =  174322
                                                       F( 93,174228) = 1064.25
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.3736
                                                       Root MSE      =  .47147

------------------------------------------------------------------------------
             |               Robust
     lnwage2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        elem |  -.1820841   .0088129   -20.66   0.000    -.1993572   -.1648109
       ed9th |  -.1882719   .0126868   -14.84   0.000    -.2131377    -.163406
      ed10th |  -.1545697    .010632   -14.54   0.000    -.1754081   -.1337312
      ed11th |  -.1554144   .0096201   -16.16   0.000    -.1742695   -.1365592
   ed12nodip |  -.1102374   .0138421    -7.96   0.000    -.1373677   -.0831072
  edsomecoll |    .097214    .003322    29.26   0.000     .0907029    .1037252
     edassoc |   .1853212   .0039886    46.46   0.000     .1775037    .1931386
        edBA |   .3684226    .003823    96.37   0.000     .3609297    .3759155
        edMA |   .5402334    .005002   108.00   0.000     .5304295    .5500373
       edPro |   .7949471   .0153013    51.95   0.000     .7649568    .8249374
       edPhd |   .7601879   .0136466    55.71   0.000     .7334408     .786935
         exp |   .0621633   .0023981    25.92   0.000      .057463    .0668636
        exp2 |  -.0031634   .0001934   -16.35   0.000    -.0035425   -.0027843
        exp3 |    .000073   6.09e-06    11.99   0.000     .0000611     .000085
        exp4 |  -6.29e-07   6.50e-08    -9.67   0.000    -7.56e-07   -5.01e-07
  marriedfem |   .0316127   .0035706     8.85   0.000     .0246143    .0386111
 prevmarrfem |   .0072827   .0041923     1.74   0.082    -.0009341    .0154995
       black |  -.0870872   .0039325   -22.15   0.000    -.0947948   -.0793796
       asian |  -.0114194   .0073322    -1.56   0.119    -.0257903    .0029515
       other |  -.0309947    .007702    -4.02   0.000    -.0460905   -.0158988
    hispanic |  -.0982661   .0042147   -23.32   0.000    -.1065267   -.0900054
    foreign4 |  -.0576136   .0058367    -9.87   0.000    -.0690533   -.0461738
    foreign5 |  -.1791889   .0062768   -28.55   0.000    -.1914913   -.1668865
  mmetsize_2 |   .0797577    .004615    17.28   0.000     .0707124     .088803
  mmetsize_3 |   .0995501   .0043284    23.00   0.000     .0910666    .1080337
  mmetsize_4 |    .140824   .0040216    35.02   0.000     .1329419    .1487062
  mmetsize_5 |   .1689369   .0036273    46.57   0.000     .1618274    .1760464
  mmetsize_6 |   .2572021   .0044548    57.74   0.000     .2484707    .2659335
  mmetsize_7 |   .2654761   .0040581    65.42   0.000     .2575223      .27343
  d_divisn_2 |  -.0167703   .0055323    -3.03   0.002    -.0276135   -.0059272
  d_divisn_3 |  -.0547964   .0050581   -10.83   0.000    -.0647101   -.0448826
  d_divisn_4 |  -.0921557   .0050229   -18.35   0.000    -.1020005   -.0823108
  d_divisn_5 |  -.0637162   .0049617   -12.84   0.000     -.073441   -.0539913
  d_divisn_6 |  -.0979491    .006182   -15.84   0.000    -.1100657   -.0858324
  d_divisn_7 |  -.1311762   .0055736   -23.54   0.000    -.1421004    -.120252
  d_divisn_8 |  -.0495015    .005277    -9.38   0.000    -.0598443   -.0391587
  d_divisn_9 |   .0178326   .0054337     3.28   0.001     .0071827    .0284825
   iindmly_1 |  -.2352883   .0271974    -8.65   0.000    -.2885947    -.181982
   iindmly_2 |   .1544757    .042373     3.65   0.000     .0714255    .2375258
   iindmly_3 |  -.0672204    .019362    -3.47   0.001    -.1051694   -.0292713
   iindmly_6 |   .0656063   .0086695     7.57   0.000     .0486142    .0825984
   iindmly_7 |  -.0679049   .0124412    -5.46   0.000    -.0922893   -.0435204
   iindmly_8 |  -.3053657   .0082719   -36.92   0.000    -.3215783    -.289153
   iindmly_9 |  -.0154627   .0074469    -2.08   0.038    -.0300585   -.0008669
  iindmly_10 |  -.0998498   .0115306    -8.66   0.000    -.1224495   -.0772502
  iindmly_11 |  -.1892307   .0132148   -14.32   0.000    -.2151314   -.1633299
  iindmly_12 |  -.1748677    .023263    -7.52   0.000    -.2204627   -.1292727
  iindmly_13 |  -.1601462   .0056771   -28.21   0.000    -.1712732   -.1490192
   ooccmly_2 |  -.0453169    .006664    -6.80   0.000    -.0583783   -.0322555
   ooccmly_3 |  -.0415155    .009274    -4.48   0.000    -.0596923   -.0233386
   ooccmly_4 |  -.1294561    .009624   -13.45   0.000    -.1483188   -.1105933
   ooccmly_5 |  -.2265446   .0055368   -40.92   0.000    -.2373965   -.2156926
   ooccmly_6 |  -.6909948   .0358615   -19.27   0.000    -.7612826   -.6207071
   ooccmly_7 |  -.1131612   .0223045    -5.07   0.000    -.1568776   -.0694448
   ooccmly_8 |  -.3802684   .0085662   -44.39   0.000     -.397058   -.3634787
   ooccmly_9 |  -.4284643   .0372594   -11.50   0.000    -.5014919   -.3554368
  ooccmly_10 |  -.1752735   .0128547   -13.63   0.000    -.2004684   -.1500786
  ooccmly_11 |  -.3497887   .0097586   -35.84   0.000    -.3689153    -.330662
  ooccmly_12 |  -.2847023   .0247741   -11.49   0.000    -.3332589   -.2361457
  ooccmly_13 |  -.3436387   .0174419   -19.70   0.000    -.3778244    -.309453
  ooccmly_14 |  -.3111467   .0320638    -9.70   0.000    -.3739909   -.2483024
nindmlynew_1 |  -.2348038   .0240368    -9.77   0.000    -.2819153   -.1876923
nindmlynew_2 |   .1153645   .0311971     3.70   0.000      .054219    .1765101
nindmlynew_3 |  -.0892886   .0129753    -6.88   0.000    -.1147198   -.0638573
nindmlynew_5 |  -.2108049   .0063539   -33.18   0.000    -.2232583   -.1983514
nindmlynew_6 |    .008972   .0081869     1.10   0.273    -.0070741    .0250181
nindmlynew_7 |  -.0097249   .0098463    -0.99   0.323    -.0290235    .0095738
nindmlynew_8 |  -.0355173   .0058062    -6.12   0.000    -.0468973   -.0241373
nindmlynew_9 |  -.0696169   .0063023   -11.05   0.000    -.0819692   -.0572646
nindmlyne~10 |  -.1917087    .004412   -43.45   0.000    -.2003561   -.1830612
nindmlyne~11 |  -.2659872   .0079834   -33.32   0.000    -.2816344   -.2503399
nindmlyne~12 |  -.2917588   .0095564   -30.53   0.000     -.310489   -.2730285
     federal |   .1589594   .0060668    26.20   0.000     .1470686    .1708502
      statew |  -.0704238   .0044139   -15.96   0.000     -.079075   -.0617727
       local |  -.0750364   .0036422   -20.60   0.000     -.082175   -.0678978
poccmlynew_2 |  -.1122239   .0046487   -24.14   0.000    -.1213352   -.1031125
poccmlynew_3 |  -.4052625   .0069585   -58.24   0.000    -.4189009    -.391624
poccmlynew_4 |  -.2233474   .0075464   -29.60   0.000    -.2381382   -.2085566
poccmlynew_5 |  -.2430237   .0044552   -54.55   0.000    -.2517558   -.2342916
poccmlynew_6 |  -.3936608   .0309961   -12.70   0.000    -.4544125   -.3329091
poccmlynew_7 |  -.1607405   .0265044    -6.06   0.000    -.2126885   -.1087925
poccmlynew_8 |  -.0536854    .019388    -2.77   0.006    -.0916855   -.0156852
poccmlynew_9 |  -.3652515   .0075192   -48.58   0.000    -.3799891    -.350514
poccmlyne~10 |  -.3823386   .0124298   -30.76   0.000    -.4067007   -.3579765
    y_year_1 |  -.0909532   .0085729   -10.61   0.000    -.1077559   -.0741505
    y_year_2 |  -.0841024   .0085902    -9.79   0.000    -.1009389   -.0672658
    y_year_3 |   -.073078   .0086681    -8.43   0.000    -.0900673   -.0560888
    y_year_4 |  -.0586082   .0081973    -7.15   0.000    -.0746747   -.0425417
    y_year_6 |   .0016419   .0048422     0.34   0.735    -.0078487    .0111326
    y_year_7 |   .0040238   .0047983     0.84   0.402    -.0053808    .0134284
    y_year_8 |  -.0085259   .0047671    -1.79   0.074    -.0178693    .0008175
    y_year_9 |  -.0125878   .0048053    -2.62   0.009     -.022006   -.0031695
   y_year_10 |   .0023575   .0047114     0.50   0.617    -.0068767    .0115917
       _cons |   1.702827   .0119873   142.05   0.000     1.679332    1.726322
------------------------------------------------------------------------------

. 
. predict temp
(option xb assumed; fitted values)

. 
. replace olshatcohead = temp if _female&relhd<5
(209989 real changes made)

. 
. drop temp

. 
. 
. /* heckman two step with proxy in exclusions */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_
> 2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local po
> ccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 if _female&relhd<5, select(mis1or5 nonspous
> eproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 e
> xp3 exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divi
> sn_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local
>  poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two

Heckman selection model -- two-step estimates   Number of obs      =    209989
(regression model with sample selection)        Censored obs       =     35667
                                                Uncensored obs     =    174322

                                                Wald chi2(93)      = 103444.15
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.1824418   .0085927   -21.23   0.000    -.1992831   -.1656004
       ed9th |  -.1890425   .0121733   -15.53   0.000    -.2129017   -.1651832
      ed10th |  -.1553344   .0107001   -14.52   0.000    -.1763063   -.1343625
      ed11th |  -.1570714   .0092848   -16.92   0.000    -.1752692   -.1388735
   ed12nodip |  -.1106569   .0124967    -8.85   0.000      -.13515   -.0861638
  edsomecoll |   .0955884     .00341    28.03   0.000     .0889051    .1022718
     edassoc |   .1838757    .004072    45.16   0.000     .1758946    .1918567
        edBA |   .3672928   .0036561   100.46   0.000     .3601269    .3744587
        edMA |    .538856   .0050176   107.39   0.000     .5290218    .5486903
       edPro |   .7953836    .010517    75.63   0.000     .7747706    .8159966
       edPhd |   .7594848   .0116158    65.38   0.000     .7367182    .7822515
         exp |   .0615136   .0022881    26.88   0.000     .0570291    .0659981
        exp2 |  -.0030908   .0001864   -16.58   0.000    -.0034561   -.0027256
        exp3 |   .0000708   5.89e-06    12.02   0.000     .0000592    .0000823
        exp4 |  -6.06e-07   6.29e-08    -9.63   0.000    -7.29e-07   -4.82e-07
  marriedfem |   .0330916   .0035698     9.27   0.000      .026095    .0400883
 prevmarrfem |    .005556   .0041482     1.34   0.180    -.0025744    .0136863
       black |  -.0824531   .0040052   -20.59   0.000    -.0903032   -.0746031
       asian |  -.0071171    .006819    -1.04   0.297    -.0204821    .0062479
       other |  -.0313399   .0077247    -4.06   0.000    -.0464802   -.0161997
    hispanic |  -.0978119   .0041251   -23.71   0.000    -.1058969   -.0897268
    foreign4 |   -.058764   .0055322   -10.62   0.000    -.0696069    -.047921
    foreign5 |  -.1803757   .0056409   -31.98   0.000    -.1914316   -.1693198
  mmetsize_2 |   .0782224   .0047931    16.32   0.000      .068828    .0876168
  mmetsize_3 |   .0994045   .0045152    22.02   0.000     .0905549    .1082541
  mmetsize_4 |   .1423755   .0042214    33.73   0.000     .1341016    .1506493
  mmetsize_5 |   .1690138   .0036741    46.00   0.000     .1618127    .1762149
  mmetsize_6 |   .2581829   .0043747    59.02   0.000     .2496088    .2667571
  mmetsize_7 |   .2689741    .004152    64.78   0.000     .2608363    .2771119
  d_divisn_2 |  -.0158465   .0053722    -2.95   0.003    -.0263759   -.0053171
  d_divisn_3 |  -.0541203    .004979   -10.87   0.000    -.0638789   -.0443617
  d_divisn_4 |  -.0959227   .0051299   -18.70   0.000     -.105977   -.0858684
  d_divisn_5 |  -.0629869   .0047347   -13.30   0.000    -.0722667    -.053707
  d_divisn_6 |  -.0986892   .0063582   -15.52   0.000    -.1111511   -.0862274
  d_divisn_7 |  -.1349375   .0055527   -24.30   0.000    -.1458206   -.1240545
  d_divisn_8 |  -.0552094   .0053767   -10.27   0.000    -.0657475   -.0446714
  d_divisn_9 |   .0153467   .0051337     2.99   0.003     .0052848    .0254086
   iindmly_1 |  -.2363963   .0298235    -7.93   0.000    -.2948493   -.1779432
   iindmly_2 |   .1540957   .0440609     3.50   0.000     .0677379    .2404535
   iindmly_3 |  -.0662367     .01852    -3.58   0.000    -.1025352   -.0299381
   iindmly_6 |   .0649872   .0099065     6.56   0.000     .0455709    .0844036
   iindmly_7 |   -.069389   .0126669    -5.48   0.000    -.0942156   -.0445623
   iindmly_8 |  -.3044179   .0083073   -36.64   0.000    -.3206998   -.2881359
   iindmly_9 |  -.0152875   .0082123    -1.86   0.063    -.0313833    .0008083
  iindmly_10 |  -.0985937   .0106904    -9.22   0.000    -.1195464    -.077641
  iindmly_11 |   -.186916   .0130155   -14.36   0.000     -.212426   -.1614061
  iindmly_12 |  -.1718273   .0194201    -8.85   0.000    -.2098901   -.1337645
  iindmly_13 |  -.1595429   .0063479   -25.13   0.000    -.1719845   -.1471013
   ooccmly_2 |  -.0450593   .0068269    -6.60   0.000    -.0584399   -.0316788
   ooccmly_3 |  -.0420301   .0102804    -4.09   0.000    -.0621793   -.0218808
   ooccmly_4 |  -.1281914   .0086412   -14.83   0.000    -.1451279    -.111255
   ooccmly_5 |  -.2257784   .0060673   -37.21   0.000    -.2376701   -.2138867
   ooccmly_6 |  -.6857711   .0300447   -22.83   0.000    -.7446575   -.6268846
   ooccmly_7 |  -.1125739   .0232724    -4.84   0.000    -.1581871   -.0669608
   ooccmly_8 |  -.3789325    .008045   -47.10   0.000    -.3947004   -.3631647
   ooccmly_9 |  -.4206952   .0387949   -10.84   0.000    -.4967319   -.3446586
  ooccmly_10 |  -.1769085   .0135418   -13.06   0.000    -.2034499   -.1503671
  ooccmly_11 |  -.3516009   .0108314   -32.46   0.000      -.37283   -.3303718
  ooccmly_12 |  -.2833689   .0245575   -11.54   0.000    -.3315007    -.235237
  ooccmly_13 |  -.3442031   .0170792   -20.15   0.000    -.3776777   -.3107285
  ooccmly_14 |  -.3077753   .0469288    -6.56   0.000    -.3997541   -.2157964
nindmlynew_1 |  -.2317279   .0258307    -8.97   0.000    -.2823551   -.1811008
nindmlynew_2 |   .1145916   .0324227     3.53   0.000     .0510443     .178139
nindmlynew_3 |  -.0871566   .0129959    -6.71   0.000     -.112628   -.0616852
nindmlynew_5 |  -.2108836   .0061888   -34.08   0.000    -.2230134   -.1987538
nindmlynew_6 |   .0108933   .0089717     1.21   0.225    -.0066908    .0284775
nindmlynew_7 |  -.0101453   .0094828    -1.07   0.285    -.0287313    .0084407
nindmlynew_8 |  -.0347829   .0060151    -5.78   0.000    -.0465722   -.0229936
nindmlynew_9 |  -.0682681   .0062648   -10.90   0.000    -.0805469   -.0559893
nindmlyne~10 |   -.191537    .004773   -40.13   0.000    -.2008919    -.182182
nindmlyne~11 |  -.2650326   .0075478   -35.11   0.000    -.2798261   -.2502391
nindmlyne~12 |   -.289947   .0085669   -33.84   0.000    -.3067378   -.2731561
     federal |   .1552788   .0064213    24.18   0.000     .1426933    .1678643
      statew |    -.07163    .004798   -14.93   0.000    -.0810339   -.0622262
       local |  -.0774431   .0040271   -19.23   0.000     -.085336   -.0695502
poccmlynew_2 |   -.111451   .0046323   -24.06   0.000    -.1205302   -.1023718
poccmlynew_3 |  -.4028341   .0062664   -64.28   0.000    -.4151161   -.3905521
poccmlynew_4 |  -.2203419   .0064655   -34.08   0.000    -.2330141   -.2076698
poccmlynew_5 |  -.2422747   .0045152   -53.66   0.000    -.2511242   -.2334251
poccmlynew_6 |  -.3952145   .0319837   -12.36   0.000    -.4579014   -.3325275
poccmlynew_7 |  -.1604864   .0277449    -5.78   0.000    -.2148655   -.1061073
poccmlynew_8 |  -.0542626   .0217886    -2.49   0.013    -.0969674   -.0115578
poccmlynew_9 |  -.3647375   .0077345   -47.16   0.000    -.3798969   -.3495781
poccmlyne~10 |  -.3824319   .0116326   -32.88   0.000    -.4052314   -.3596323
    y_year_1 |  -.0945767   .0092759   -10.20   0.000    -.1127572   -.0763962
    y_year_2 |  -.0875291   .0092266    -9.49   0.000    -.1056128   -.0694453
    y_year_3 |  -.0744176   .0092377    -8.06   0.000    -.0925231   -.0563121
    y_year_4 |  -.0593764   .0088521    -6.71   0.000    -.0767262   -.0420267
    y_year_6 |   .0012604   .0048049     0.26   0.793     -.008157    .0106777
    y_year_7 |    .003623   .0048358     0.75   0.454     -.005855    .0131011
    y_year_8 |  -.0108958   .0048472    -2.25   0.025    -.0203961   -.0013955
    y_year_9 |  -.0140205   .0048284    -2.90   0.004    -.0234841    -.004557
   y_year_10 |   .0011823   .0048181     0.25   0.806    -.0082609    .0106256
       _cons |   1.721923   .0127503   135.05   0.000     1.696933    1.746913
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .1062003   .0077932    13.63   0.000      .090926    .1214747
nonspousep~y |  -.6609769   .0123064   -53.71   0.000     -.685097   -.6368569
 spouseproxy |  -.0792241   .0082662    -9.58   0.000    -.0954254   -.0630227
        elem |   .0763133   .0242384     3.15   0.002     .0288069    .1238197
       ed9th |   .0508075   .0346759     1.47   0.143     -.017156    .1187711
      ed10th |   .0294022   .0301251     0.98   0.329     -.029642    .0884464
      ed11th |   .0680652   .0267009     2.55   0.011     .0157323     .120398
   ed12nodip |   .0136084   .0348855     0.39   0.696     -.054766    .0819828
  edsomecoll |   .0518308    .009839     5.27   0.000     .0325467    .0711149
     edassoc |   .0446843   .0118201     3.78   0.000     .0215173    .0678513
        edBA |   .0306583   .0105617     2.90   0.004     .0099578    .0513588
        edMA |   .0358966   .0146872     2.44   0.015     .0071102    .0646829
       edPro |  -.0355675   .0301819    -1.18   0.239     -.094723     .023588
       edPhd |   .0039305   .0340589     0.12   0.908    -.0628237    .0706847
         exp |   .0123724   .0068234     1.81   0.070    -.0010012    .0257461
        exp2 |  -.0019308   .0005455    -3.54   0.000    -.0029999   -.0008617
        exp3 |   .0000642    .000017     3.78   0.000     .0000309    .0000975
        exp4 |  -7.00e-07   1.79e-07    -3.91   0.000    -1.05e-06   -3.49e-07
  marriedfem |  -.0753975   .0111634    -6.75   0.000    -.0972774   -.0535176
 prevmarrfem |   .0594025    .012214     4.86   0.000     .0354635    .0833415
       black |  -.1677479   .0104561   -16.04   0.000    -.1882415   -.1472544
       asian |  -.1440987   .0185861    -7.75   0.000    -.1805267   -.1076706
       other |   .0269313   .0238176     1.13   0.258    -.0197503    .0736129
    hispanic |  -.0062457   .0121821    -0.51   0.608    -.0301221    .0176307
    foreign4 |   .0643245   .0155128     4.15   0.000     .0339201     .094729
    foreign5 |   .0751024   .0161598     4.65   0.000     .0434297     .106775
  mmetsize_2 |   .0703597   .0147195     4.78   0.000       .04151    .0992094
  mmetsize_3 |   .0108898   .0134659     0.81   0.419    -.0155028    .0372824
  mmetsize_4 |  -.0563265   .0123149    -4.57   0.000    -.0804633   -.0321897
  mmetsize_5 |   .0052733   .0109365     0.48   0.630    -.0161618    .0267085
  mmetsize_6 |  -.0324847   .0127908    -2.54   0.011    -.0575542   -.0074152
  mmetsize_7 |   -.121286   .0115562   -10.50   0.000    -.1439358   -.0986362
  d_divisn_2 |  -.0283125   .0149088    -1.90   0.058    -.0575332    .0009082
  d_divisn_3 |  -.0221971   .0140015    -1.59   0.113    -.0496396    .0052453
  d_divisn_4 |   .1543426   .0150301    10.27   0.000     .1248841     .183801
  d_divisn_5 |    -.02429   .0133117    -1.82   0.068    -.0503804    .0018004
  d_divisn_6 |   .0310368   .0182839     1.70   0.090    -.0047989    .0668726
  d_divisn_7 |   .1573094   .0161933     9.71   0.000     .1255711    .1890477
  d_divisn_8 |   .2534383   .0158234    16.02   0.000      .222425    .2844515
  d_divisn_9 |   .1035889   .0147408     7.03   0.000     .0746976    .1324803
   iindmly_1 |   .0707863    .094232     0.75   0.453    -.1139051    .2554777
   iindmly_2 |   .0342632   .1420313     0.24   0.809    -.2441131    .3126394
   iindmly_3 |  -.0476181    .055544    -0.86   0.391    -.1564824    .0612462
   iindmly_6 |   .0301131   .0301599     1.00   0.318    -.0289992    .0892253
   iindmly_7 |   .0686348   .0387019     1.77   0.076    -.0072196    .1444892
   iindmly_8 |  -.0264149   .0245421    -1.08   0.282    -.0745165    .0216867
   iindmly_9 |   -.007807   .0244679    -0.32   0.750    -.0557633    .0401492
  iindmly_10 |  -.0463509   .0313349    -1.48   0.139    -.1077662    .0150644
  iindmly_11 |  -.0906609   .0374663    -2.42   0.016    -.1640934   -.0172284
  iindmly_12 |  -.1102595   .0554729    -1.99   0.047    -.2189843   -.0015346
  iindmly_13 |  -.0214067   .0190728    -1.12   0.262    -.0587887    .0159754
   ooccmly_2 |  -.0042817   .0206059    -0.21   0.835    -.0446686    .0361052
   ooccmly_3 |   .0234913   .0312978     0.75   0.453    -.0378513     .084834
   ooccmly_4 |  -.0487455   .0253878    -1.92   0.055    -.0985047    .0010136
   ooccmly_5 |  -.0290543   .0180978    -1.61   0.108    -.0645252    .0064167
   ooccmly_6 |   -.127631   .0793086    -1.61   0.108    -.2830731    .0278111
   ooccmly_7 |  -.0168851   .0694281    -0.24   0.808    -.1529616    .1191915
   ooccmly_8 |  -.0418534   .0233769    -1.79   0.073    -.0876713    .0039646
   ooccmly_9 |  -.2954461   .1098349    -2.69   0.007    -.5107186   -.0801735
  ooccmly_10 |   .0777746    .041596     1.87   0.062    -.0037521    .1593013
  ooccmly_11 |   .0864005   .0326798     2.64   0.008     .0223492    .1504517
  ooccmly_12 |  -.0290515   .0722547    -0.40   0.688    -.1706682    .1125652
  ooccmly_13 |   .0275394   .0509108     0.54   0.589    -.0722439    .1273228
  ooccmly_14 |  -.0925025   .1512371    -0.61   0.541    -.3889217    .2039167
nindmlynew_1 |  -.1021919   .0745744    -1.37   0.171    -.2483551    .0439712
nindmlynew_2 |   .0543639   .1013983     0.54   0.592    -.1443731     .253101
nindmlynew_3 |   -.077738   .0369868    -2.10   0.036    -.1502309   -.0052452
nindmlynew_5 |   .0075972   .0180053     0.42   0.673    -.0276925    .0428869
nindmlynew_6 |  -.0609457   .0254451    -2.40   0.017    -.1108172   -.0110742
nindmlynew_7 |   .0105478   .0277576     0.38   0.704     -.043856    .0649517
nindmlynew_8 |  -.0290326    .017398    -1.67   0.095    -.0631321    .0050669
nindmlynew_9 |  -.0453318   .0179972    -2.52   0.012    -.0806056    -.010058
nindmlyne~10 |  -.0011799   .0140106    -0.08   0.933    -.0286403    .0262804
nindmlyne~11 |  -.0300987   .0216112    -1.39   0.164    -.0724559    .0122586
nindmlyne~12 |  -.0667584   .0239319    -2.79   0.005     -.113664   -.0198528
     federal |   .1403469   .0193503     7.25   0.000     .1024211    .1782728
      statew |   .0432691   .0142165     3.04   0.002     .0154053     .071133
       local |   .0942222   .0119235     7.90   0.000     .0708526    .1175917
poccmlynew_2 |  -.0262892   .0135643    -1.94   0.053    -.0528747    .0002963
poccmlynew_3 |  -.0768359   .0177234    -4.34   0.000    -.1115732   -.0420986
poccmlynew_4 |  -.1070515   .0182605    -5.86   0.000    -.1428415   -.0712616
poccmlynew_5 |  -.0268019   .0131294    -2.04   0.041     -.052535   -.0010687
poccmlynew_6 |   .0590742   .0966182     0.61   0.541     -.130294    .2484424
poccmlynew_7 |  -.0057757   .0812438    -0.07   0.943    -.1650107    .1534592
poccmlynew_8 |   .0363337   .0640131     0.57   0.570    -.0891296     .161797
poccmlynew_9 |   .0040023    .022234     0.18   0.857    -.0395754    .0475801
poccmlyne~10 |   .0267839   .0336509     0.80   0.426    -.0391707    .0927385
    y_year_1 |   .1537088   .0276343     5.56   0.000     .0995465    .2078711
    y_year_2 |   .1355214   .0274861     4.93   0.000     .0816497    .1893931
    y_year_3 |   .0509326   .0273251     1.86   0.062    -.0026237    .1044888
    y_year_4 |   .0362962   .0262278     1.38   0.166    -.0151094    .0877018
    y_year_6 |   .0146985   .0135959     1.08   0.280    -.0119489     .041346
    y_year_7 |   .0141359   .0137439     1.03   0.304    -.0128017    .0410735
    y_year_8 |   .0888109   .0139353     6.37   0.000     .0614982    .1161236
    y_year_9 |   .0591789   .0138072     4.29   0.000     .0321172    .0862405
   y_year_10 |   .0453805   .0137517     3.30   0.001     .0184276    .0723333
       _cons |   1.115035   .0353086    31.58   0.000     1.045831    1.184239
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.0686628   .0172484    -3.98   0.000    -.1024691   -.0348566
-------------+----------------------------------------------------------------
         rho |   -0.14512
       sigma |  .47315959
      lambda | -.06866284   .0172484
------------------------------------------------------------------------------

. 
. 
. /* heckman two step with proxy in main equation */
. 
. heckman lnwage2 elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA edMA edPro edPhd exp exp2 exp3
>  exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 mmetsize_2-mmetsize_7 d_divisn_
> 2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmlynew_12 federal statew local po
> ccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10 nonspouseproxy spouseproxy if _female&relhd
> <5, select(mis1or5 nonspouseproxy spouseproxy elem ed9th ed10th ed11th ed12nodip edsomecoll edassoc edBA 
> edMA edPro edPhd exp exp2 exp3 exp4 marriedfem prevmarrfem black asian other hispanic foreign4 foreign5 m
> metsize_2-mmetsize_7 d_divisn_2-d_divisn_9 iindmly_1-iindmly_13 ooccmly_2-ooccmly_14 nindmlynew_1-nindmly
> new_12 federal statew local poccmlynew_2-poccmlynew_10 y_year_1-y_year_4 y_year_6-y_year_10) two 

Heckman selection model -- two-step estimates   Number of obs      =    209989
(regression model with sample selection)        Censored obs       =     35667
                                                Uncensored obs     =    174322

                                                Wald chi2(95)      = 103231.83
                                                Prob > chi2        =    0.0000

------------------------------------------------------------------------------
     lnwage2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
lnwage2      |
        elem |  -.1818393   .0087733   -20.73   0.000    -.1990346    -.164644
       ed9th |  -.1880418    .012239   -15.36   0.000    -.2120298   -.1640538
      ed10th |  -.1551824    .010731   -14.46   0.000    -.1762149   -.1341499
      ed11th |  -.1568253   .0093987   -16.69   0.000    -.1752464   -.1384043
   ed12nodip |  -.1103237   .0125156    -8.81   0.000    -.1348539   -.0857936
  edsomecoll |   .0955799   .0035722    26.76   0.000     .0885786    .1025813
     edassoc |   .1837274   .0041737    44.02   0.000     .1755471    .1919078
        edBA |   .3667516   .0037102    98.85   0.000     .3594798    .3740234
        edMA |   .5379465   .0050771   105.96   0.000     .5279956    .5478975
       edPro |   .7949103   .0105495    75.35   0.000     .7742336     .815587
       edPhd |   .7583391   .0116329    65.19   0.000     .7355391    .7811391
         exp |   .0613039   .0023033    26.62   0.000     .0567894    .0658183
        exp2 |  -.0030623   .0001903   -16.09   0.000    -.0034352   -.0026894
        exp3 |   .0000698   6.03e-06    11.58   0.000      .000058    .0000816
        exp4 |  -5.95e-07   6.45e-08    -9.22   0.000    -7.21e-07   -4.69e-07
  marriedfem |   .0231344   .0041195     5.62   0.000     .0150605    .0312084
 prevmarrfem |   .0050137      .0043     1.17   0.244    -.0034142    .0134415
       black |  -.0809945   .0053644   -15.10   0.000    -.0915085   -.0704805
       asian |   -.006907   .0074492    -0.93   0.354    -.0215073    .0076932
       other |  -.0316061   .0077505    -4.08   0.000    -.0467968   -.0164153
    hispanic |  -.0974496   .0041311   -23.59   0.000    -.1055463   -.0893528
    foreign4 |  -.0593961    .005694   -10.43   0.000     -.070556   -.0482361
    foreign5 |  -.1813923   .0058612   -30.95   0.000    -.1928801   -.1699046
  mmetsize_2 |   .0773338   .0049724    15.55   0.000     .0675881    .0870795
  mmetsize_3 |   .0988479   .0045271    21.83   0.000      .089975    .1077208
  mmetsize_4 |   .1421132   .0043628    32.57   0.000     .1335622    .1506642
  mmetsize_5 |   .1683393   .0036823    45.72   0.000     .1611221    .1755565
  mmetsize_6 |   .2576975   .0044241    58.25   0.000     .2490264    .2663686
  mmetsize_7 |   .2692425   .0048789    55.18   0.000       .25968     .278805
  d_divisn_2 |  -.0154809    .005421    -2.86   0.004     -.026106   -.0048559
  d_divisn_3 |  -.0536905   .0050101   -10.72   0.000    -.0635101    -.043871
  d_divisn_4 |  -.0969214   .0059106   -16.40   0.000     -.108506   -.0853368
  d_divisn_5 |  -.0628079   .0047716   -13.16   0.000      -.07216   -.0534558
  d_divisn_6 |  -.0984711   .0063983   -15.39   0.000    -.1110115   -.0859307
  d_divisn_7 |  -.1357892   .0063489   -21.39   0.000    -.1482329   -.1233456
  d_divisn_8 |  -.0566875   .0071073    -7.98   0.000    -.0706176   -.0427575
  d_divisn_9 |   .0147735   .0055479     2.66   0.008     .0038997    .0256472
   iindmly_1 |  -.2364206   .0298869    -7.91   0.000     -.294998   -.1778433
   iindmly_2 |   .1550481   .0441336     3.51   0.000     .0685479    .2415484
   iindmly_3 |  -.0658477   .0185722    -3.55   0.000    -.1022485   -.0294469
   iindmly_6 |   .0648628   .0099386     6.53   0.000     .0453836    .0843421
   iindmly_7 |  -.0700561   .0127536    -5.49   0.000    -.0950527   -.0450595
   iindmly_8 |  -.3044536    .008331   -36.54   0.000    -.3207821   -.2881251
   iindmly_9 |  -.0154395   .0082247    -1.88   0.060    -.0315597    .0006806
  iindmly_10 |  -.0984522   .0107417    -9.17   0.000    -.1195055   -.0773989
  iindmly_11 |  -.1867997   .0131575   -14.20   0.000    -.2125879   -.1610115
  iindmly_12 |  -.1721183   .0195638    -8.80   0.000    -.2104627   -.1337739
  iindmly_13 |  -.1594518   .0063702   -25.03   0.000    -.1719371   -.1469666
   ooccmly_2 |   -.045232   .0068377    -6.62   0.000    -.0586336   -.0318303
   ooccmly_3 |  -.0421695   .0103038    -4.09   0.000    -.0623646   -.0219745
   ooccmly_4 |  -.1278555   .0087061   -14.69   0.000    -.1449192   -.1107918
   ooccmly_5 |  -.2255745   .0061038   -36.96   0.000    -.2375377   -.2136113
   ooccmly_6 |  -.6830014   .0302042   -22.61   0.000    -.7422005   -.6238023
   ooccmly_7 |  -.1130441   .0233067    -4.85   0.000    -.1587243   -.0673639
   ooccmly_8 |  -.3783582    .008095   -46.74   0.000    -.3942242   -.3624922
   ooccmly_9 |  -.4183686   .0392639   -10.66   0.000    -.4953243   -.3414128
  ooccmly_10 |  -.1778503   .0136503   -13.03   0.000    -.2046044   -.1510961
  ooccmly_11 |  -.3519837   .0109853   -32.04   0.000    -.3735145   -.3304529
  ooccmly_12 |  -.2824402   .0245999   -11.48   0.000    -.3306551   -.2342254
  ooccmly_13 |  -.3440599   .0171137   -20.10   0.000     -.377602   -.3105177
  ooccmly_14 |  -.3083879   .0470361    -6.56   0.000    -.4005769   -.2161989
nindmlynew_1 |  -.2301439    .025951    -8.87   0.000    -.2810068   -.1792809
nindmlynew_2 |   .1147577    .032492     3.53   0.000     .0510746    .1784408
nindmlynew_3 |  -.0858243   .0131089    -6.55   0.000    -.1115172   -.0601313
nindmlynew_5 |  -.2108264   .0061994   -34.01   0.000     -.222977   -.1986758
nindmlynew_6 |   .0114063   .0090654     1.26   0.208    -.0063616    .0291742
nindmlynew_7 |  -.0103058   .0094978    -1.09   0.278    -.0289211    .0083095
nindmlynew_8 |  -.0346134   .0060503    -5.72   0.000    -.0464717   -.0227551
nindmlynew_9 |  -.0678001   .0063411   -10.69   0.000    -.0802285   -.0553717
nindmlyne~10 |  -.1914292   .0047797   -40.05   0.000    -.2007972   -.1820611
nindmlyne~11 |  -.2647704   .0075793   -34.93   0.000    -.2796255   -.2499153
nindmlyne~12 |  -.2891984   .0087016   -33.24   0.000    -.3062532   -.2721435
     federal |   .1545023    .006972    22.16   0.000     .1408374    .1681671
      statew |  -.0715312   .0048769   -14.67   0.000    -.0810898   -.0619726
       local |  -.0776507   .0044264   -17.54   0.000    -.0863264   -.0689751
poccmlynew_2 |  -.1112583   .0046678   -23.84   0.000     -.120407   -.1021096
poccmlynew_3 |  -.4022637   .0064665   -62.21   0.000    -.4149378   -.3895896
poccmlynew_4 |  -.2197672   .0068234   -32.21   0.000    -.2331407   -.2063936
poccmlynew_5 |  -.2419795   .0045526   -53.15   0.000    -.2509025   -.2330565
poccmlynew_6 |  -.3952537   .0320505   -12.33   0.000    -.4580714   -.3324359
poccmlynew_7 |  -.1608247   .0277833    -5.79   0.000     -.215279   -.1063703
poccmlynew_8 |  -.0546033   .0218302    -2.50   0.012    -.0973898   -.0118168
poccmlynew_9 |   -.364869   .0077451   -47.11   0.000    -.3800492   -.3496889
poccmlyne~10 |  -.3825218   .0116612   -32.80   0.000    -.4053773   -.3596663
    y_year_1 |  -.0953502   .0097486    -9.78   0.000    -.1144572   -.0762432
    y_year_2 |  -.0880885   .0096327    -9.14   0.000    -.1069682   -.0692087
    y_year_3 |  -.0745864   .0093018    -8.02   0.000    -.0928177   -.0563552
    y_year_4 |  -.0593733   .0088935    -6.68   0.000    -.0768042   -.0419423
    y_year_6 |   .0011376   .0048196     0.24   0.813    -.0083085    .0105838
    y_year_7 |   .0033609   .0048498     0.69   0.488    -.0061446    .0128664
    y_year_8 |  -.0116307   .0051688    -2.25   0.024    -.0217613   -.0015001
    y_year_9 |  -.0145971    .004983    -2.93   0.003    -.0243637   -.0048306
   y_year_10 |    .000392   .0049147     0.08   0.936    -.0092406    .0100247
nonspousep~y |   .0019395   .0175895     0.11   0.912    -.0325354    .0364144
 spouseproxy |   .0236079   .0032736     7.21   0.000     .0171918     .030024
       _cons |   1.726804   .0180404    95.72   0.000     1.691445    1.762162
-------------+----------------------------------------------------------------
select       |
     mis1or5 |   .1062003   .0077932    13.63   0.000      .090926    .1214747
nonspousep~y |  -.6609769   .0123064   -53.71   0.000     -.685097   -.6368569
 spouseproxy |  -.0792241   .0082662    -9.58   0.000    -.0954254   -.0630227
        elem |   .0763133   .0242384     3.15   0.002     .0288069    .1238197
       ed9th |   .0508075   .0346759     1.47   0.143     -.017156    .1187711
      ed10th |   .0294022   .0301251     0.98   0.329     -.029642    .0884464
      ed11th |   .0680652   .0267009     2.55   0.011     .0157323     .120398
   ed12nodip |   .0136084   .0348855     0.39   0.696     -.054766    .0819828
  edsomecoll |   .0518308    .009839     5.27   0.000     .0325467    .0711149
     edassoc |   .0446843   .0118201     3.78   0.000     .0215173    .0678513
        edBA |   .0306583   .0105617     2.90   0.004     .0099578    .0513588
        edMA |   .0358966   .0146872     2.44   0.015     .0071102    .0646829
       edPro |  -.0355675   .0301819    -1.18   0.239     -.094723     .023588
       edPhd |   .0039305   .0340589     0.12   0.908    -.0628237    .0706847
         exp |   .0123724   .0068234     1.81   0.070    -.0010012    .0257461
        exp2 |  -.0019308   .0005455    -3.54   0.000    -.0029999   -.0008617
        exp3 |   .0000642    .000017     3.78   0.000     .0000309    .0000975
        exp4 |  -7.00e-07   1.79e-07    -3.91   0.000    -1.05e-06   -3.49e-07
  marriedfem |  -.0753975   .0111634    -6.75   0.000    -.0972774   -.0535176
 prevmarrfem |   .0594025    .012214     4.86   0.000     .0354635    .0833415
       black |  -.1677479   .0104561   -16.04   0.000    -.1882415   -.1472544
       asian |  -.1440987   .0185861    -7.75   0.000    -.1805267   -.1076706
       other |   .0269313   .0238176     1.13   0.258    -.0197503    .0736129
    hispanic |  -.0062457   .0121821    -0.51   0.608    -.0301221    .0176307
    foreign4 |   .0643245   .0155128     4.15   0.000     .0339201     .094729
    foreign5 |   .0751024   .0161598     4.65   0.000     .0434297     .106775
  mmetsize_2 |   .0703597   .0147195     4.78   0.000       .04151    .0992094
  mmetsize_3 |   .0108898   .0134659     0.81   0.419    -.0155028    .0372824
  mmetsize_4 |  -.0563265   .0123149    -4.57   0.000    -.0804633   -.0321897
  mmetsize_5 |   .0052733   .0109365     0.48   0.630    -.0161618    .0267085
  mmetsize_6 |  -.0324847   .0127908    -2.54   0.011    -.0575542   -.0074152
  mmetsize_7 |   -.121286   .0115562   -10.50   0.000    -.1439358   -.0986362
  d_divisn_2 |  -.0283125   .0149088    -1.90   0.058    -.0575332    .0009082
  d_divisn_3 |  -.0221971   .0140015    -1.59   0.113    -.0496396    .0052453
  d_divisn_4 |   .1543426   .0150301    10.27   0.000     .1248841     .183801
  d_divisn_5 |    -.02429   .0133117    -1.82   0.068    -.0503804    .0018004
  d_divisn_6 |   .0310368   .0182839     1.70   0.090    -.0047989    .0668726
  d_divisn_7 |   .1573094   .0161933     9.71   0.000     .1255711    .1890477
  d_divisn_8 |   .2534383   .0158234    16.02   0.000      .222425    .2844515
  d_divisn_9 |   .1035889   .0147408     7.03   0.000     .0746976    .1324803
   iindmly_1 |   .0707863    .094232     0.75   0.453    -.1139051    .2554777
   iindmly_2 |   .0342632   .1420313     0.24   0.809    -.2441131    .3126394
   iindmly_3 |  -.0476181    .055544    -0.86   0.391    -.1564824    .0612462
   iindmly_6 |   .0301131   .0301599     1.00   0.318    -.0289992    .0892253
   iindmly_7 |   .0686348   .0387019     1.77   0.076    -.0072196    .1444892
   iindmly_8 |  -.0264149   .0245421    -1.08   0.282    -.0745165    .0216867
   iindmly_9 |   -.007807   .0244679    -0.32   0.750    -.0557633    .0401492
  iindmly_10 |  -.0463509   .0313349    -1.48   0.139    -.1077662    .0150644
  iindmly_11 |  -.0906609   .0374663    -2.42   0.016    -.1640934   -.0172284
  iindmly_12 |  -.1102595   .0554729    -1.99   0.047    -.2189843   -.0015346
  iindmly_13 |  -.0214067   .0190728    -1.12   0.262    -.0587887    .0159754
   ooccmly_2 |  -.0042817   .0206059    -0.21   0.835    -.0446686    .0361052
   ooccmly_3 |   .0234913   .0312978     0.75   0.453    -.0378513     .084834
   ooccmly_4 |  -.0487455   .0253878    -1.92   0.055    -.0985047    .0010136
   ooccmly_5 |  -.0290543   .0180978    -1.61   0.108    -.0645252    .0064167
   ooccmly_6 |   -.127631   .0793086    -1.61   0.108    -.2830731    .0278111
   ooccmly_7 |  -.0168851   .0694281    -0.24   0.808    -.1529616    .1191915
   ooccmly_8 |  -.0418534   .0233769    -1.79   0.073    -.0876713    .0039646
   ooccmly_9 |  -.2954461   .1098349    -2.69   0.007    -.5107186   -.0801735
  ooccmly_10 |   .0777746    .041596     1.87   0.062    -.0037521    .1593013
  ooccmly_11 |   .0864005   .0326798     2.64   0.008     .0223492    .1504517
  ooccmly_12 |  -.0290515   .0722547    -0.40   0.688    -.1706682    .1125652
  ooccmly_13 |   .0275394   .0509108     0.54   0.589    -.0722439    .1273228
  ooccmly_14 |  -.0925025   .1512371    -0.61   0.541    -.3889217    .2039167
nindmlynew_1 |  -.1021919   .0745744    -1.37   0.171    -.2483551    .0439712
nindmlynew_2 |   .0543639   .1013983     0.54   0.592    -.1443731     .253101
nindmlynew_3 |   -.077738   .0369868    -2.10   0.036    -.1502309   -.0052452
nindmlynew_5 |   .0075972   .0180053     0.42   0.673    -.0276925    .0428869
nindmlynew_6 |  -.0609457   .0254451    -2.40   0.017    -.1108172   -.0110742
nindmlynew_7 |   .0105478   .0277576     0.38   0.704     -.043856    .0649517
nindmlynew_8 |  -.0290326    .017398    -1.67   0.095    -.0631321    .0050669
nindmlynew_9 |  -.0453318   .0179972    -2.52   0.012    -.0806056    -.010058
nindmlyne~10 |  -.0011799   .0140106    -0.08   0.933    -.0286403    .0262804
nindmlyne~11 |  -.0300987   .0216112    -1.39   0.164    -.0724559    .0122586
nindmlyne~12 |  -.0667584   .0239319    -2.79   0.005     -.113664   -.0198528
     federal |   .1403469   .0193503     7.25   0.000     .1024211    .1782728
      statew |   .0432691   .0142165     3.04   0.002     .0154053     .071133
       local |   .0942222   .0119235     7.90   0.000     .0708526    .1175917
poccmlynew_2 |  -.0262892   .0135643    -1.94   0.053    -.0528747    .0002963
poccmlynew_3 |  -.0768359   .0177234    -4.34   0.000    -.1115732   -.0420986
poccmlynew_4 |  -.1070515   .0182605    -5.86   0.000    -.1428415   -.0712616
poccmlynew_5 |  -.0268019   .0131294    -2.04   0.041     -.052535   -.0010687
poccmlynew_6 |   .0590742   .0966182     0.61   0.541     -.130294    .2484424
poccmlynew_7 |  -.0057757   .0812438    -0.07   0.943    -.1650107    .1534592
poccmlynew_8 |   .0363337   .0640131     0.57   0.570    -.0891296     .161797
poccmlynew_9 |   .0040023    .022234     0.18   0.857    -.0395754    .0475801
poccmlyne~10 |   .0267839   .0336509     0.80   0.426    -.0391707    .0927385
    y_year_1 |   .1537088   .0276343     5.56   0.000     .0995465    .2078711
    y_year_2 |   .1355214   .0274861     4.93   0.000     .0816497    .1893931
    y_year_3 |   .0509326   .0273251     1.86   0.062    -.0026237    .1044888
    y_year_4 |   .0362962   .0262278     1.38   0.166    -.0151094    .0877018
    y_year_6 |   .0146985   .0135959     1.08   0.280    -.0119489     .041346
    y_year_7 |   .0141359   .0137439     1.03   0.304    -.0128017    .0410735
    y_year_8 |   .0888109   .0139353     6.37   0.000     .0614982    .1161236
    y_year_9 |   .0591789   .0138072     4.29   0.000     .0321172    .0862405
   y_year_10 |   .0453805   .0137517     3.30   0.001     .0184276    .0723333
       _cons |   1.115035   .0353086    31.58   0.000     1.045831    1.184239
-------------+----------------------------------------------------------------
mills        |
      lambda |  -.0861266   .0565953    -1.52   0.128    -.1970512    .0247981
-------------+----------------------------------------------------------------
         rho |   -0.18166
       sigma |  .47411962
      lambda | -.08612655   .0565953
------------------------------------------------------------------------------

. 
. predict temp
(option xb assumed; fitted values)

. 
. replace selecthatcohead = temp if _female&relhd<5
(209989 real changes made)

. 
. drop temp

. 
. /*converting to 2008 real */
. 
. replace olshat = olshat + ln(2.15303)
(564722 real changes made)

. replace selecthat = selecthat + ln(2.15303)
(564722 real changes made)

. replace olshatcohead = olshatcohead + ln(2.15303)
(564722 real changes made)

. replace selecthatcohead = selecthatcohead + ln(2.15303)
(564722 real changes made)

. replace lnwage = lnwage + ln(2.15303)
(564722 real changes made)

. replace lnwage2 = lnwage2 + ln(2.15303) if lnwage2 != .
(459378 real changes made)

. 
. 
. /* table 5 */
. 
. table _female, contents(mean lnwage mean lnwage2 mean olshat mean selecthat)

--------------------------------------------------------------------------
Sex is    |
female    |
(binary   |
recode)   |   mean(lnwage)   mean(lnwage2)    mean(olshat)  mean(select~t)
----------+---------------------------------------------------------------
     Male |       3.013608        3.021271        3.016366        3.105056
   Female |       2.769351        2.779554        2.775912        2.794976
--------------------------------------------------------------------------

. 
. table _female if relhd < 5, contents(mean lnwage mean lnwage2 mean olshatcohead mean selecthatcohead)

--------------------------------------------------------------------------
Sex is    |
female    |
(binary   |
recode)   |   mean(lnwage)   mean(lnwage2)  mean(olshat~d)  mean(select~d)
----------+---------------------------------------------------------------
     Male |       3.092072        3.087709        3.091147        3.117488
   Female |       2.807652        2.812234        2.811827        2.837565
--------------------------------------------------------------------------

. 
. 
. 
. log close
      name:  <unnamed>
       log:  C:\Imputations\Selection\forRESTAT\restatmarch.log
  log type:  text
 closed on:  19 Oct 2011, 08:41:03
-----------------------------------------------------------------------------------------------------------
